From 8fc03e6edb5516e2f591dc461a7e983d3f1748f1 Mon Sep 17 00:00:00 2001 From: yk-eukarya <81808708+yk-eukarya@users.noreply.github.com> Date: Fri, 18 Oct 2024 14:30:34 +0200 Subject: [PATCH] ci: image was not pushed with correct tag (#1273) * imp * imp * imp --- .github/workflows/build_server.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/build_server.yml b/.github/workflows/build_server.yml index d9db9863d..787999546 100644 --- a/.github/workflows/build_server.yml +++ b/.github/workflows/build_server.yml @@ -26,7 +26,7 @@ jobs: id: info # The tag name should be retrieved lazily, as tagging may be delayed. env: - BRANCH: ${{ github.event.workflow_run.head_branch }} + BRANCH: ${{ github.head_ref || github.ref_name }} run: | echo "::set-output name=sha_short::$(git rev-parse --short HEAD)" if [[ "$BRANCH" = "release" ]]; then