Skip to content

Commit e381c93

Browse files
authored
Fix image builds for tags (#2183)
1 parent 3187279 commit e381c93

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

.github/workflows/containers.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,9 @@ on:
1010
workflows: ["Build"]
1111
types: [completed]
1212
branches: [master]
13+
push:
14+
tags:
15+
- '[0-9]+.[0-9]+.[0-9]+'
1316

1417
env:
1518
DOCKER_REPOSITORY: ${{ secrets.DOCKER_REPOSITORY || 'geopython/pygeoapi' }}
@@ -19,7 +22,7 @@ jobs:
1922
on-success:
2023
name: Build, Test and Push Docker Image to DockerHub
2124
runs-on: ubuntu-24.04
22-
if: ${{ github.event.workflow_run.conclusion == 'success' || github.event_name == 'workflow_dispatch' }}
25+
if: ${{ github.event.workflow_run.conclusion == 'success' || github.event_name == 'workflow_dispatch' || github.event_name == 'push' }}
2326
permissions:
2427
packages: write
2528
contents: read

0 commit comments

Comments
 (0)