From ac3a7b4206ae373916dad819eff4ba94f9e1e9c8 Mon Sep 17 00:00:00 2001 From: Guillermo Perez Date: Fri, 24 Nov 2023 14:00:27 +0100 Subject: [PATCH] assume prefix adds a `-` except for raw formt --- .github/workflows/build-docker.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/build-docker.yml b/.github/workflows/build-docker.yml index 0e2ab2b6bc..584f0542ed 100644 --- a/.github/workflows/build-docker.yml +++ b/.github/workflows/build-docker.yml @@ -51,9 +51,9 @@ jobs: images: centrifugeio/centrifuge-chain tags: | type=raw,event=branch,value=${{ matrix.target == 'test' && 'test-' || '' }}{{branch}}-{{sha}}-${{ env.NOW }} - type=semver,pattern={{raw}},prefix=${{ matrix.target == 'test' && 'test-' || 'latest=auto' }} - type=semver,pattern={{major}},prefix=${{ matrix.target == 'test' && 'test-' || '' }} - type=edge,suffix=-${{ env.NOW }},prefix=${{ matrix.target == 'test' && 'test-' || '' }},condition=${{ !startsWith(github.ref, 'refs/heads/') }} + type=semver,pattern={{raw}},prefix=${{ matrix.target == 'test' && 'test' || 'latest=auto' }} + type=semver,pattern={{major}},prefix=${{ matrix.target == 'test' && 'test' || '' }} + type=edge,suffix=-${{ env.NOW }},prefix=${{ matrix.target == 'test' && 'test' || '' }},condition=${{ !startsWith(github.ref, 'refs/heads/') }} - name: Configure GHA cache uses: actions/github-script@60a0d83039c74a4aee543508d2ffcb1c3799cdea #v6