update tags

This commit is contained in:
mauwii 2023-02-05 22:59:06 +01:00 committed by Matthias Wild
parent b7ab025f40
commit a9ef5d1532

View File

@ -3,6 +3,7 @@ on:
push: push:
branches: branches:
- 'main' - 'main'
- 'update/ci/*'
tags: tags:
- 'v*.*.*' - 'v*.*.*'
@ -42,13 +43,12 @@ jobs:
github-token: ${{ secrets.GITHUB_TOKEN }} github-token: ${{ secrets.GITHUB_TOKEN }}
images: ghcr.io/${{ github.repository }} images: ghcr.io/${{ github.repository }}
tags: | tags: |
type=ref,event=branch type=ref,event=branch,suffix=-${{ matrix.flavor }}
type=ref,event=tag type=ref,event=tag
type=semver,pattern={{version}} type=semver,pattern={{version}}
type=semver,pattern={{major}}.{{minor}} type=semver,pattern={{major}}.{{minor}}
type=semver,pattern={{major}} type=semver,pattern={{major}}
type=sha,enable=true,prefix=sha-,suffix=${{ matrix.flavor}},format=short type=sha,enable=true,prefix=sha-,suffix=-${{ matrix.flavor}},format=short
type=raw,value={{branch}}-${{ matrix.flavor }}
flavor: | flavor: |
latest=${{ matrix.flavor == 'cuda' && github.ref == 'refs/heads/main' }} latest=${{ matrix.flavor == 'cuda' && github.ref == 'refs/heads/main' }}