mirror of
https://github.com/teslamate-org/teslamate.git
synced 2026-01-24 21:06:08 +08:00
ci: fix ghcr build
This commit is contained in:
@@ -55,7 +55,7 @@ jobs:
|
||||
repository_owner: ${{ github.repository_owner }}
|
||||
repository: ${{ github.repository }}
|
||||
github_token: ${{ secrets.GITHUB_TOKEN }}
|
||||
version: ${{ github.ref_name }}
|
||||
version: ${{ github.head_ref || github.ref_name }}
|
||||
|
||||
teslamate_merge:
|
||||
runs-on: ubuntu-24.04
|
||||
|
||||
@@ -50,7 +50,7 @@ jobs:
|
||||
repository_owner: ${{ github.repository_owner }}
|
||||
repository: ${{ github.repository }}
|
||||
github_token: ${{ secrets.GITHUB_TOKEN }}
|
||||
version: ${{ github.ref_name }}
|
||||
version: ${{ github.head_ref || github.ref_name }}
|
||||
labels: |
|
||||
org.opencontainers.image.version=${{ github.ref || github.ref_name }}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user