fix: branch name

This commit is contained in:
Eli Bosley
2023-08-31 10:53:40 -04:00
parent 7d9704af5e
commit 98d9bebd44

View File

@@ -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