From 40396d9814532a0bf9685ef4f617a8591c98b46a Mon Sep 17 00:00:00 2001 From: felixZdi <93919627+felixZdi@users.noreply.github.com> Date: Thu, 11 Apr 2024 13:52:56 +0200 Subject: [PATCH] fix inheritance of event.name (#24) --- .github/workflows/docker.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/docker.yml b/.github/workflows/docker.yml index b15e403..1db2ded 100644 --- a/.github/workflows/docker.yml +++ b/.github/workflows/docker.yml @@ -27,7 +27,7 @@ jobs: VERSION=noop if [ "${{ github.event_name }}" = "schedule" ]; then VERSION=edge - elif [[ "${{ github.event_name }}" == "workflow_dispatch" ]]; then + elif [[ "${{ github.event.workflow }}" = ".github/workflows/app_release.yml" ]]; then VERSION=${{ inputs.tag }} elif [[ $GITHUB_REF == refs/heads/* ]]; then VERSION=$(echo ${GITHUB_REF#refs/heads/} | sed -r 's#/+#-#g')