Skip to content

Commit

Permalink
fixup! consistently use ${{ github.event.pull_request.head.sha }}
Browse files Browse the repository at this point in the history
  • Loading branch information
Taepper committed Dec 18, 2024
1 parent ac84db1 commit cb2b0b3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ jobs:
type=ref,event=branch
type=raw,value=latest,enable=${{ github.ref == 'refs/heads/main' }}
type=raw,value=${{ env.DIR_HASH }}
type=raw,prefix=commit-${{ github.event.pull_request.head.sha }}
type=raw,value=commit-${{ github.event.pull_request.head.sha }}
- name: Login to GitHub Container Registry
uses: docker/login-action@v3
Expand Down Expand Up @@ -102,7 +102,7 @@ jobs:
tags: |
type=ref,event=branch
type=raw,value=latest,enable=${{ github.ref == format('refs/heads/{0}', 'main') }}
type=raw,prefix=commit-${{ github.event.pull_request.head.sha }}
type=raw,value=commit-${{ github.event.pull_request.head.sha }}
- name: Build unit test image
if: env.PLATFORM_BUILD == 'true'
Expand Down

0 comments on commit cb2b0b3

Please sign in to comment.