diff --git a/.github/workflows/build-docker.yml b/.github/workflows/build-docker.yml index ab4362bd44..23ce4ca7b1 100644 --- a/.github/workflows/build-docker.yml +++ b/.github/workflows/build-docker.yml @@ -49,15 +49,12 @@ jobs: uses: docker/metadata-action@96383f45573cb7f253c731d3b3ab81c87ef81934 #v5 with: images: centrifugeio/centrifuge-chain - flavor: | - prefix=${{ matrix.target == 'test' && 'test' || 'latest=auto' }} tags: | - type=semver,pattern={{raw}} - type=semver,pattern={{major}} - type=edge,event=pr,suffix={{sha}}-${{ env.NOW }} - type=ref,event=tag,suffix={{sha}}-${{ env.NOW }} - type=ref,event=pr,suffix={{sha}}-${{ env.NOW }} - type=ref,event=branch,prefix=${{ matrix.target == 'test' && 'test' || '' }}-{{branch}},suffix={{sha}}-${{ env.NOW }} + type=semver,pattern={{raw}},prefix=${{ matrix.target == 'test' && 'test-' || '' }} + type=edge,event=pr,suffix={{sha}}-${{ env.NOW }},prefix=${{ matrix.target == 'test' && 'test-' || '' }} + type=ref,event=tag,suffix={{sha}}-${{ env.NOW }},prefix=${{ matrix.target == 'test' && 'test-' || '' }} + type=ref,event=pr,suffix={{sha}}-${{ env.NOW }},prefix=${{ matrix.target == 'test' && 'test-' || '' }} + type=ref,event=branch,prefix=${{ matrix.target == 'test' && 'test-' || '' }}-{{branch}},suffix={{sha}}-${{ env.NOW }} - name: Configure GHA cache uses: actions/github-script@60a0d83039c74a4aee543508d2ffcb1c3799cdea #v6