From 841ed512e80ec46d8ec9c7e5271173bd72d3fc6c Mon Sep 17 00:00:00 2001 From: Gang Li Date: Wed, 20 Dec 2023 15:48:21 +0800 Subject: [PATCH] Fix github action tag by builda outputs --- .github/workflows/merge-build.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/merge-build.yml b/.github/workflows/merge-build.yml index b2defb5..c1d00a7 100644 --- a/.github/workflows/merge-build.yml +++ b/.github/workflows/merge-build.yml @@ -80,7 +80,7 @@ jobs: uses: redhat-actions/buildah-build@v2 with: image: indy-ui-service - tags: latest + tags: ${{ github.ref_name }} platforms: linux/amd64 containerfiles: | commonjava-images/indy-ui-service/actions.Dockerfile @@ -90,6 +90,6 @@ jobs: id: push-to-quay uses: redhat-actions/push-to-registry@v2 with: - image: indy-ui-service - tags: latest + image: ${{ steps.buildah-build.outputs.image }} + tags: ${{ steps.buildah-build.outputs.tags }} registry: quay.io/factory2