Skip to content

Commit

Permalink
refactor
Browse files Browse the repository at this point in the history
  • Loading branch information
meghaniankov committed Feb 2, 2024
1 parent f9ec470 commit 783d13f
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/push.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,6 @@ jobs:
docker-build-push:
env:
LATEST_TAG: type=raw,value=latest,enable={{is_default_branch}}
SEMVER_TAG: type=semver,pattern={{raw}}
needs: build
runs-on: ubuntu-latest
steps:
Expand All @@ -53,7 +52,7 @@ jobs:
images: quay.io/uswitch/vault-webhook
tags: |
type=sha,prefix=,format=long
${{ (github.ref_name == 'master' || startsWith(github.ref, 'refs/tags/v')) && env.SEMVER_TAG }}
type=semver,pattern={{raw}}
${{ github.ref_name == 'master' && env.LATEST_TAG }}
- uses: docker/build-push-action@v5
with:
Expand Down

0 comments on commit 783d13f

Please sign in to comment.