Skip to content

Commit 9f7e062

Browse files
authored
Merge pull request #3 from rubygems/segiddins/fix-push-criteria
Fix push criteria
2 parents 1b73b09 + 29ca3d7 commit 9f7e062

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/docker.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,6 @@ jobs:
3333
uses: docker/build-push-action@v6
3434
with:
3535
platforms: linux/amd64
36-
push: "${{ github.event_name == 'push' && github.ref == 'main' && 'true' }}"
36+
push: "${{ github.event_name == 'push' && github.ref == 'refs/heads/main' && 'true' }}"
3737
tags: |
3838
048268392960.dkr.ecr.us-west-2.amazonaws.com/rubygems/inspector:${{ github.sha }}

0 commit comments

Comments
 (0)