Skip to content

Commit 20cdc9d

Browse files
committed
ci: fix ref name check (#2390)
1 parent af25e6a commit 20cdc9d

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
@@ -50,7 +50,7 @@ jobs:
5050
run: make release-arm || make release-arm
5151

5252
- name: Push
53-
if: github.ref == github.event.repository.default_branch || startsWith(github.ref, 'release-')
53+
if: github.ref_name == github.event.repository.default_branch || startsWith(github.ref_name, 'release-')
5454
env:
5555
DOCKER_USERNAME: ${{ secrets.DOCKER_USERNAME }}
5656
DOCKER_PASSWORD: ${{ secrets.DOCKER_PASSWORD }}

0 commit comments

Comments
 (0)