Skip to content

Commit

Permalink
ci: fix ref name check (#2390)
Browse files Browse the repository at this point in the history
  • Loading branch information
zhangzujian committed Feb 28, 2023
1 parent 42e6a30 commit 8a63d28
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/build-arm64-image.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ jobs:
run: make release-arm || make release-arm

- name: Push
if: github.ref == github.event.repository.default_branch || startsWith(github.ref, 'release-')
if: github.ref_name == github.event.repository.default_branch || startsWith(github.ref_name, 'release-')
env:
DOCKER_USERNAME: ${{ secrets.DOCKER_USERNAME }}
DOCKER_PASSWORD: ${{ secrets.DOCKER_PASSWORD }}
Expand Down

0 comments on commit 8a63d28

Please sign in to comment.