diff --git a/.github/workflows/containers.yml b/.github/workflows/containers.yml index ccf300394..20298e998 100644 --- a/.github/workflows/containers.yml +++ b/.github/workflows/containers.yml @@ -10,6 +10,9 @@ on: workflows: ["Build"] types: [completed] branches: [master] + push: + tags: + - '[0-9]+.[0-9]+.[0-9]+' env: DOCKER_REPOSITORY: ${{ secrets.DOCKER_REPOSITORY || 'geopython/pygeoapi' }} @@ -19,7 +22,7 @@ jobs: on-success: name: Build, Test and Push Docker Image to DockerHub runs-on: ubuntu-24.04 - if: ${{ github.event.workflow_run.conclusion == 'success' || github.event_name == 'workflow_dispatch' }} + if: ${{ github.event.workflow_run.conclusion == 'success' || github.event_name == 'workflow_dispatch' || github.event_name == 'push' }} permissions: packages: write contents: read