ci: publish github workflow separate version tags from master

This commit is contained in:
sjdonado
2025-02-07 18:53:55 +01:00
parent 1d1444234b
commit 93a91cd76e
2 changed files with 3 additions and 8 deletions
+1 -1
View File
@@ -47,7 +47,7 @@ jobs:
platforms: ${{ matrix.platform }}
push: true
tags: |
sjdonado/bit:${{ steps.version.outputs.version }}-${{ contains(matrix.platform, 'amd64') && 'amd64' || 'arm64' }}
sjdonado/bit:latest-${{ contains(matrix.platform, 'amd64') && 'amd64' || 'arm64' }}
${{ github.event_name == 'release' && format('sjdonado/bit:{0}-{1}', steps.version.outputs.version, contains(matrix.platform, 'amd64') && 'amd64' || 'arm64') || '' }}
cache-from: type=gha
cache-to: type=gha,mode=max