Skip to content

Commit 8f045d7

Browse files
committed
ci: fix ref name check (#2390)
1 parent aec96bf commit 8f045d7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/build-arm64-image.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ jobs:
5454
run: make release-arm || make release-arm
5555

5656
- name: Push
57-
if: github.ref == github.event.repository.default_branch || startsWith(github.ref, 'release-')
57+
if: github.ref_name == github.event.repository.default_branch || startsWith(github.ref_name, 'release-')
5858
env:
5959
DOCKER_USERNAME: ${{ secrets.DOCKER_USERNAME }}
6060
DOCKER_PASSWORD: ${{ secrets.DOCKER_PASSWORD }}

0 commit comments

Comments
 (0)