Browse Source

fix: missing ollama/cuda tags from #1495

Jun Siang Cheah 1 year ago
parent
commit
3a661fda1a
1 changed files with 2 additions and 0 deletions
  1. 2 0
      .github/workflows/docker-build.yaml

+ 2 - 0
.github/workflows/docker-build.yaml

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