From 2c9ddc6cc4c15cb4619972d1ab274ae37c41cb5a Mon Sep 17 00:00:00 2001 From: haider Date: Wed, 3 Jul 2024 13:54:57 +0100 Subject: [PATCH] - Fix missed github workflow tag logic --- .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 f2b8c26a3..f0d5079e0 100644 --- a/.github/workflows/docker.yml +++ b/.github/workflows/docker.yml @@ -31,7 +31,7 @@ jobs: run: | cd dataload docker build -t ghcr.io/ebispot/ols4-dataload:${{ github.sha }} . - docker tag ghcr.io/ebispot/ols4-dataload:${{github.sha}} ghcr.io/ebispot/ols4-dataload:${{ github.head_ref || github.ref }} + docker tag ghcr.io/ebispot/ols4-dataload:${{github.sha}} ghcr.io/ebispot/ols4-dataload:${{ github.head_ref || github.ref_name }} docker push --all-tags ghcr.io/ebispot/ols4-dataload - name: Build and push ols4 backend Docker image