From 0fcb4a7ca91eea629dc3cda770c6efa3beb7c101 Mon Sep 17 00:00:00 2001 From: Samuel Khuvis Date: Mon, 2 Dec 2024 18:50:08 -0800 Subject: [PATCH] On push to dev, trigger docker image builds with latest tag --- .github/workflows/docker-image.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/workflows/docker-image.yml b/.github/workflows/docker-image.yml index fbda92c..7cbe392 100644 --- a/.github/workflows/docker-image.yml +++ b/.github/workflows/docker-image.yml @@ -3,6 +3,9 @@ name: Docker Image CI on: release: types: [released] + push: + branches: + - dev workflow_dispatch: inputs: release_tag: @@ -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