Skip to content

Commit

Permalink
fix condition for docker tag
Browse files Browse the repository at this point in the history
  • Loading branch information
gpmayorga committed Nov 24, 2023
1 parent 10c800c commit 672295d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/build-docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ jobs:
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=${{ github.event_name != 'push' || github.ref == 'refs/heads/'* }}
type=edge,suffix=-${{ env.NOW }},prefix=${{ matrix.target == 'test' && 'test-' || '' }},condition=${{ github.event_name != 'push' || startsWith(github.ref, 'refs/heads/') }}
- name: Configure GHA cache
uses: actions/github-script@60a0d83039c74a4aee543508d2ffcb1c3799cdea #v6
Expand Down

0 comments on commit 672295d

Please sign in to comment.