Skip to content

Commit

Permalink
ci: image was not pushed with correct tag (#1273)
Browse files Browse the repository at this point in the history
* imp

* imp

* imp
  • Loading branch information
yk-eukarya authored Oct 18, 2024
1 parent 803c54f commit 8fc03e6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/build_server.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
id: info
# The tag name should be retrieved lazily, as tagging may be delayed.
env:
BRANCH: ${{ github.event.workflow_run.head_branch }}
BRANCH: ${{ github.head_ref || github.ref_name }}
run: |
echo "::set-output name=sha_short::$(git rev-parse --short HEAD)"
if [[ "$BRANCH" = "release" ]]; then
Expand Down

0 comments on commit 8fc03e6

Please sign in to comment.