Skip to content

Commit

Permalink
Use PR_HEAD_SHA
Browse files Browse the repository at this point in the history
  • Loading branch information
tpendragon committed May 30, 2024
1 parent bd332a3 commit 2d23d77
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/build-docker-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,8 @@ jobs:
type=ref,event=branch
type=ref,event=pr
type=sha
build_args: |
DOCKER_METADATA_PR_HEAD_SHA=true
# This step uses the `docker/build-push-action` action to build the image, based on your repository's `Dockerfile`. If the build succeeds, it pushes the image to GitHub Packages.
# It uses the `context` parameter to define the build's context as the set of files located in the specified path. For more information, see "[Usage](https://github.com/docker/build-push-action#usage)" in the README of the `docker/build-push-action` repository.
# It uses the `tags` and `labels` parameters to tag and label the image with the output from the "meta" step.
Expand Down

0 comments on commit 2d23d77

Please sign in to comment.