chore(CI): latest tag for linux and amd64

This commit is contained in:
Bo-Yi Wu
2023-01-03 10:33:55 +08:00
parent 5672c1219f
commit 1c9314ed83
+1 -1
View File
@@ -77,7 +77,7 @@ jobs:
ghcr.io/${{ github.repository }}
tags: |
type=raw,value=,enable={{is_default_branch}}
type=raw,value=latest,suffix=,enable={{is_default_branch}}
type=raw,value=latest,suffix=,enable=${{ matrix.system == 'linux' && matrix.arch == 'amd64' }}
type=semver,event=tag,pattern={{version}},suffix=-${{ matrix.system }}-${{ matrix.arch }}
type=semver,event=tag,pattern={{major}}.{{minor}},suffix=-${{ matrix.system }}-${{ matrix.arch }}
type=semver,event=tag,pattern={{major}},suffix=-${{ matrix.system }}-${{ matrix.arch }}