Skip to content

Commit

Permalink
change build arg to lowercase
Browse files Browse the repository at this point in the history
Signed-off-by: ehearneredhat <[email protected]>
  • Loading branch information
ehearneRedHat committed Aug 22, 2024
1 parent 3adb0ae commit 949a333
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/build-images.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -40,18 +40,18 @@ jobs:
if [[ ${GITHUB_REF_NAME/\//-} =~ ^v[0-9]+\.[0-9]+\.[0-9]+(-.+)?$ ]]; then
echo "version=${GITHUB_REF_NAME/\//-}" >> $GITHUB_ENV
else
echo "GIT_SHA=${{ github.sha }}" >> $GITHUB_ENV
echo "git_sha=${{ github.sha }}" >> $GITHUB_ENV
fi
- name: Set Authorino Dirty
id: authorino-dirty
run: |
GIT_DIRTY=$(git diff --stat); \
if [ -n "$GIT_DIRTY" ]; then \
DIRTY="true"; \
dirty="true"; \
else \
DIRTY="false"; \
dirty="false"; \
fi; \
echo "DIRTY=$DIRTY" >> $GITHUB_ENV
echo "dirty=$dirty" >> $GITHUB_ENV
- name: Set up QEMU
uses: docker/setup-qemu-action@v3
- name: Build Image
Expand All @@ -62,9 +62,9 @@ jobs:
tags: ${{ env.IMG_TAGS }}
platforms: linux/amd64,linux/arm64,linux/s390x,linux/ppc64le
build-args: |
GIT_SHA=${{ env.GIT_SHA }}
git_sha=${{ env.git_sha }}
version=${{ env.version }}
DIRTY=${{ env.DIRTY }}
dirty=${{ env.dirty }}
containerfiles: |
./Dockerfile
- name: Push Image
Expand Down

0 comments on commit 949a333

Please sign in to comment.