fix: missing ollama/cuda tags from #1495

This commit is contained in:
Jun Siang Cheah 2024-04-10 20:55:49 +01:00
parent a85e93f1f9
commit 3a661fda1a

View file

@ -321,6 +321,7 @@ jobs:
type=sha,prefix=git- type=sha,prefix=git-
type=semver,pattern={{version}} type=semver,pattern={{version}}
type=semver,pattern={{major}}.{{minor}} type=semver,pattern={{major}}.{{minor}}
type=raw,enable=${{ github.ref == 'refs/heads/main' }},prefix=,suffix=,value=cuda
flavor: | flavor: |
latest=${{ github.ref == 'refs/heads/main' }} latest=${{ github.ref == 'refs/heads/main' }}
suffix=-cuda,onlatest=true suffix=-cuda,onlatest=true
@ -367,6 +368,7 @@ jobs:
type=sha,prefix=git- type=sha,prefix=git-
type=semver,pattern={{version}} type=semver,pattern={{version}}
type=semver,pattern={{major}}.{{minor}} type=semver,pattern={{major}}.{{minor}}
type=raw,enable=${{ github.ref == 'refs/heads/main' }},prefix=,suffix=,value=ollama
flavor: | flavor: |
latest=${{ github.ref == 'refs/heads/main' }} latest=${{ github.ref == 'refs/heads/main' }}
suffix=-ollama,onlatest=true suffix=-ollama,onlatest=true