Skip to content

Commit

Permalink
fix build arg?
Browse files Browse the repository at this point in the history
  • Loading branch information
sholdee committed Jul 9, 2024
1 parent d126015 commit 0387f1a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build-and-push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ jobs:
cache-from: type=local,src=/tmp/.buildx-cache
cache-to: type=local,dest=/tmp/.buildx-cache
build-args: |
DISTROLESS_IMAGE=$(cat image.env | grep DISTROLESS_IMAGE | cut -d '=' -f2)
DISTROLESS_IMAGE=$(grep DISTROLESS_IMAGE image.env | cut -d '=' -f2)
push:
runs-on: ubuntu-latest
Expand Down Expand Up @@ -115,7 +115,7 @@ jobs:
cache-from: type=local,src=/tmp/.buildx-cache
cache-to: type=local,dest=/tmp/.buildx-cache
build-args: |
DISTROLESS_IMAGE=$(cat image.env | grep DISTROLESS_IMAGE | cut -d '=' -f2)
DISTROLESS_IMAGE=$(grep DISTROLESS_IMAGE image.env | cut -d '=' -f2)
- name: Sign the images with GitHub OIDC Token
if: github.event_name != 'pull_request'
Expand Down

0 comments on commit 0387f1a

Please sign in to comment.