mirror of
https://github.com/Dvorinka/swingmusic-extended.git
synced 2026-06-04 20:43:04 +00:00
fix: docker builds versionining
This commit is contained in:
@@ -224,8 +224,12 @@ jobs:
|
|||||||
context: .
|
context: .
|
||||||
platforms: linux/amd64, linux/arm64 #,linux/arm
|
platforms: linux/amd64, linux/arm64 #,linux/arm
|
||||||
push: true
|
push: true
|
||||||
tags: ghcr.io/${{github.repository}}:${{format('{0}', github.ref_name)}}, ghcr.io/${{github.repository}}:latest
|
tags: ghcr.io/${{github.repository}}:${{format('v{0}', github.event.inputs.tag)}}, ${{env.LATEST_TAG}}
|
||||||
labels: org.opencontainers.image.title=Docker
|
labels: org.opencontainers.image.title=Docker
|
||||||
|
build-args: |
|
||||||
|
app_version=${{github.event.inputs.tag}}
|
||||||
|
env:
|
||||||
|
LATEST_TAG: ${{ github.event.inputs.is_latest == 'true' && format('ghcr.io/{0}:latest', github.repository) || '' }}
|
||||||
|
|
||||||
build-pyinstaller:
|
build-pyinstaller:
|
||||||
name: Build binary on ${{ matrix.os }}
|
name: Build binary on ${{ matrix.os }}
|
||||||
|
|||||||
Reference in New Issue
Block a user