Skip to content

Commit

Permalink
yet another try at fixing the tag when not in main
Browse files Browse the repository at this point in the history
  • Loading branch information
gpmayorga committed Nov 24, 2023
1 parent 00d3e69 commit 14a59df
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build-docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,10 +50,10 @@ jobs:
with:
images: centrifugeio/centrifuge-chain
tags: |
type=raw,event=branch,value=${{ matrix.target == 'test' && 'test-' || '' }}{{branch}}-{{sha}}-${{ env.NOW }}
type=raw,enable=${{ github.ref == 'refs/heads/main' }},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=edge,suffix=-${{ env.NOW }},prefix=${{ matrix.target == 'test' && 'test' || '' }}
- name: Configure GHA cache
uses: actions/github-script@60a0d83039c74a4aee543508d2ffcb1c3799cdea #v6
Expand Down

0 comments on commit 14a59df

Please sign in to comment.