From a9ef5d15320879fcec9748025929df27d679fe40 Mon Sep 17 00:00:00 2001 From: mauwii Date: Sun, 5 Feb 2023 22:59:06 +0100 Subject: [PATCH] update tags --- .github/workflows/build-container.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/build-container.yml b/.github/workflows/build-container.yml index 41f7fc1a49..bba787ee9f 100644 --- a/.github/workflows/build-container.yml +++ b/.github/workflows/build-container.yml @@ -3,6 +3,7 @@ on: push: branches: - 'main' + - 'update/ci/*' tags: - 'v*.*.*' @@ -42,13 +43,12 @@ jobs: github-token: ${{ secrets.GITHUB_TOKEN }} images: ghcr.io/${{ github.repository }} tags: | - type=ref,event=branch + type=ref,event=branch,suffix=-${{ matrix.flavor }} type=ref,event=tag type=semver,pattern={{version}} type=semver,pattern={{major}}.{{minor}} type=semver,pattern={{major}} - type=sha,enable=true,prefix=sha-,suffix=${{ matrix.flavor}},format=short - type=raw,value={{branch}}-${{ matrix.flavor }} + type=sha,enable=true,prefix=sha-,suffix=-${{ matrix.flavor}},format=short flavor: | latest=${{ matrix.flavor == 'cuda' && github.ref == 'refs/heads/main' }}