Skip to content

Commit

Permalink
fix: updated the code to pin to github sha of the pull request
Browse files Browse the repository at this point in the history
  • Loading branch information
abhimanyubabbar committed May 27, 2024
1 parent d1a2bd6 commit 692e230
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build-push-docker-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ jobs:
linux/arm64
build-args: |
version=${{ inputs.img_tag }}-arm64
GIT_COMMIT_SHA=${{ github.sha }}
GIT_COMMIT_SHA=${{ github.event.pull_request.head.sha }}
# cache-from: type=gha
# cache-to: type=gha,mode=max

Expand Down Expand Up @@ -129,7 +129,7 @@ jobs:
linux/amd64
build-args: |
version=${{ inputs.img_tag }}-amd64
GIT_COMMIT_SHA=${{ github.sha }}
GIT_COMMIT_SHA=${{ github.event.pull_request.head.sha }}
# cache-from: type=gha
# cache-to: type=gha,mode=max

Expand Down

0 comments on commit 692e230

Please sign in to comment.