Skip to content
Draft
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions .github/workflows/push-container.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,14 @@ jobs:
- id: meta
uses: docker/metadata-action@v5
with:
# By default for PRs checkout will checkout the pr merge commit which
# is maintained by github and is the PR branch merged into the default
# branch and then use that ephemeral commit to build with. This is
# highly confusing when building docker images since the tags don't
# relate to any accessible commits. The fix is to ensure we use the
# head commit sha. See -
# https://github.com/actions/checkout?tab=readme-ov-file#checkout-pull-request-head-commit-instead-of-merge-commit
ref: ${{ github.event.pull_request.head.sha }}
images: ${{ inputs.artifact-registry }}
tags: |
type=semver,pattern={{version}},match=celo/v(.*)
Expand Down
Loading