From 7387c3a39f0d323b3216f03b057c0e6b2d1b74a8 Mon Sep 17 00:00:00 2001 From: Joshua Rich Date: Tue, 7 May 2024 22:01:37 +1000 Subject: [PATCH] ci(github): :bug: use env vars for metadata output --- .github/workflows/build.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index cc7a6cf84..cbf263209 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -184,9 +184,9 @@ jobs: - name: Build container image id: build_image run: | - for t in ${{ steps.docker_metadata.outputs.tags }}; do tags="${tags} --tag ${t}"; done + for t in ${DOCKER_METADATA_OUPUT_TAGS}; do tags="${tags} --tag ${t}"; done tags="${tags} --tag ${{ env.REGISTRY }}/${{ env.IMAGE }}:${{ env.APPVERSION }}" - for l in ${{ steps.docker_metadata.outputs.labels }}; do labels="${labels} --label ${l}"; done + for l in ${DOCKER_METADATA_OUTPUT_LABELS}; do labels="${labels} --label ${l}"; done podman build --file Dockerfile ${labels} ${tags} # uses: redhat-actions/buildah-build@v2