Docker Image CI #225
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# This file is available under the following license: | |
# under LGPL 2.1 (LICENSE.TXT) Copyright 2023 Torsten Friebe <[email protected]> | |
name: Docker Image CI | |
on: | |
schedule: | |
- cron: "0 1 * * *" | |
push: | |
branches: [ "main" ] | |
jobs: | |
build-1_3: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: docker/setup-qemu-action@v2 | |
- uses: docker/setup-buildx-action@v2 | |
- name: Login to Docker Hub | |
uses: docker/login-action@v2 | |
with: | |
username: ${{ secrets.DOCKERHUB_USERNAME }} | |
password: ${{ secrets.DOCKERHUB_TOKEN }} | |
- name: Build and push v1.3 | |
uses: docker/build-push-action@v4 | |
with: | |
context: ./docker/1.3 | |
platforms: linux/amd64,linux/arm64 | |
push: true | |
tags: deegree/deegree-ogcapi:1.3,deegree/deegree-ogcapi:1.3.0,deegree/deegree-ogcapi:latest |