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