From 3a661fda1a3ad3259cbf11fda56ce89b039a1b06 Mon Sep 17 00:00:00 2001 From: Jun Siang Cheah Date: Wed, 10 Apr 2024 20:55:49 +0100 Subject: [PATCH] fix: missing ollama/cuda tags from #1495 --- .github/workflows/docker-build.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/docker-build.yaml b/.github/workflows/docker-build.yaml index b703e43da..e14a5d8e6 100644 --- a/.github/workflows/docker-build.yaml +++ b/.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