mirror of
https://github.com/unraid/api.git
synced 2026-01-27 02:59:03 -06:00
fix: branch name
This commit is contained in:
2
.github/workflows/pull-request.yml
vendored
2
.github/workflows/pull-request.yml
vendored
@@ -37,7 +37,7 @@ jobs:
|
||||
run: |
|
||||
git_hash=$(git rev-parse --short "$GITHUB_SHA")
|
||||
branch=${GITHUB_HEAD_REF:-${GITHUB_REF#refs/heads/}}
|
||||
image_tag="unraid/api-builder:$branch"
|
||||
image_tag="unraid/api-builder:$git_hash"
|
||||
echo $image_tag
|
||||
echo "tag=$image_tag" >> "$GITHUB_OUTPUT"
|
||||
- uses: docker/setup-buildx-action@v1
|
||||
|
||||
Reference in New Issue
Block a user