Skip to content

Commit ba35f41

Browse files
ci: fix ghcr build
1 parent 3dcf002 commit ba35f41

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.github/workflows/buildx.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ jobs:
5555
repository_owner: ${{ github.repository_owner }}
5656
repository: ${{ github.repository }}
5757
github_token: ${{ secrets.GITHUB_TOKEN }}
58-
version: ${{ github.ref_name }}
58+
version: ${{ github.head_ref || github.ref_name }}
5959

6060
teslamate_merge:
6161
runs-on: ubuntu-24.04

.github/workflows/ghcr_build.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ jobs:
5050
repository_owner: ${{ github.repository_owner }}
5151
repository: ${{ github.repository }}
5252
github_token: ${{ secrets.GITHUB_TOKEN }}
53-
version: ${{ github.ref_name }}
53+
version: ${{ github.head_ref || github.ref_name }}
5454
labels: |
5555
org.opencontainers.image.version=${{ github.ref || github.ref_name }}
5656

0 commit comments

Comments
 (0)