fix: docker builds versionining

This commit is contained in:
wanji
2025-12-03 19:16:34 +03:00
parent aff8184983
commit d2b2ba6e02
+5 -1
View File
@@ -224,8 +224,12 @@ jobs:
context: .
platforms: linux/amd64, linux/arm64 #,linux/arm
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
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:
name: Build binary on ${{ matrix.os }}