Skip to content

Commit

Permalink
ci(github): 🐛 use env vars for metadata output
Browse files Browse the repository at this point in the history
  • Loading branch information
joshuar committed May 7, 2024
1 parent e2146e0 commit 7387c3a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 7387c3a

Please sign in to comment.