fix tagging

This commit is contained in:
doctorpangloss 2025-11-10 11:51:49 -08:00
parent 37048fc1a2
commit 83fddf4cb5
2 changed files with 9 additions and 3 deletions

View File

@ -34,7 +34,9 @@ jobs:
tags: | tags: |
type=raw,value=latest-rocm,enable={{is_default_branch}} type=raw,value=latest-rocm,enable={{is_default_branch}}
type=sha,prefix=,suffix=-rocm type=sha,prefix=,suffix=-rocm
type=semver,pattern={{version}},suffix=-rocm type=match,pattern=v?(\d+\.\d+\.\d+\.\d+),group=1,suffix=-rocm
type=match,pattern=v?(\d+\.\d+\.\d+),group=1,suffix=-rocm
type=match,pattern=v?(\d+\.\d+),group=1,suffix=-rocm
- name: Build and push ROCm (AMD) image - name: Build and push ROCm (AMD) image
uses: docker/build-push-action@v6 uses: docker/build-push-action@v6
with: with:

View File

@ -41,8 +41,12 @@ jobs:
type=raw,value=latest-cuda,enable={{is_default_branch}} type=raw,value=latest-cuda,enable={{is_default_branch}}
type=sha,prefix= type=sha,prefix=
type=sha,prefix=,suffix=-cuda type=sha,prefix=,suffix=-cuda
type=semver,pattern={{version}} type=match,pattern=v?(\d+\.\d+\.\d+\.\d+),group=1
type=semver,pattern={{version}},suffix=-cuda type=match,pattern=v?(\d+\.\d+\.\d+\.\d+),group=1,suffix=-cuda
type=match,pattern=v?(\d+\.\d+\.\d+),group=1
type=match,pattern=v?(\d+\.\d+\.\d+),group=1,suffix=-cuda
type=match,pattern=v?(\d+\.\d+),group=1
type=match,pattern=v?(\d+\.\d+),group=1,suffix=-cuda
- name: Build and push CUDA (NVIDIA) image - name: Build and push CUDA (NVIDIA) image
uses: docker/build-push-action@v6 uses: docker/build-push-action@v6
with: with: