Skip to content

Commit

Permalink
On push to dev, trigger docker image builds with latest tag
Browse files Browse the repository at this point in the history
  • Loading branch information
khsa1 committed Dec 3, 2024
1 parent e9063c7 commit 0fcb4a7
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/docker-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@ name: Docker Image CI
on:
release:
types: [released]
push:
branches:
- dev
workflow_dispatch:
inputs:
release_tag:
Expand All @@ -19,6 +22,8 @@ jobs:
run: |
if [[ ${{ github.event_name == 'workflow_dispatch' }} == true ]]; then
TRAPS_REL=${{ inputs.release_tag }}
elif [[ ${{ github.event_name == 'push' }} == true ]]; then
TRAPS_REL=latest
else
TRAPS_REL=${{ github.event.release.tag_name }}
fi
Expand Down

0 comments on commit 0fcb4a7

Please sign in to comment.