Skip to content

Commit

Permalink
Refine triggers.
Browse files Browse the repository at this point in the history
  • Loading branch information
scossu committed May 6, 2024
1 parent 779b0c6 commit 29d5309
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 4 deletions.
9 changes: 7 additions & 2 deletions .github/workflows/push-app-image.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,13 @@
name: Push image to Docker Hub.
name: Push app image
on:
# This runs on v *.*.0 after the base image has been
# built and pushed, or on v
push:
tags:
- "v*.*.*"
- "v*.*.[1-9]*"
workflow_run:
workflows: ["Push base image"]
types: ["completed"]

env:
DOCKER_USER: lcnetdev
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/push-base-image.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Push base image to Docker Hub. Only on minor/major version update.
name: Push base image
on:
push:
tags:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/push-test-image.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Push test image to Docker Hub.
name: Push test image
on:
push:
branch:
Expand Down

0 comments on commit 29d5309

Please sign in to comment.