Skip to content

Commit 29ca3d7

Browse files
committed
Fix push criteria
Signed-off-by: Samuel Giddins <segiddins@segiddins.me>
1 parent 1b73b09 commit 29ca3d7

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)