From b142e365bbd7b595f6e2452d74454752eee735f3 Mon Sep 17 00:00:00 2001 From: Nicko Guyer Date: Tue, 12 Oct 2021 16:18:53 -0400 Subject: [PATCH] Fix tagging of latest image on release Signed-off-by: Nicko Guyer --- .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 e69b279c..79967405 100644 --- a/.github/workflows/docker.yml +++ b/.github/workflows/docker.yml @@ -15,7 +15,7 @@ jobs: - name: Tag release if: github.event.action == 'published' - run: docker tag ghcr.io/hyperledger/firefly-ethconnect:latest ghcr.io/hyperledger/firefly-ethconnect:latest + run: docker tag ghcr.io/hyperledger/firefly-ethconnect:${GITHUB_REF##*/} ghcr.io/hyperledger/firefly-ethconnect:latest - name: Push docker image run: |