Skip to content

Commit

Permalink
chore: try to fix latest tag/push on release (#1187)
Browse files Browse the repository at this point in the history
  • Loading branch information
markphelps authored Dec 1, 2022
1 parent 9e0ba7d commit 872c76a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ jobs:
env:
TAG: ${{ github.ref }}
run: |
if [[ $(git tag -l --sort=-version:refname | head -n 1) == $TAG ]]; then
if [[ $TAG =~ $(git tag -l --sort=-version:refname | head -n 1) ]]; then
docker tag flipt/flipt:$TAG flipt/flipt:latest
docker tag markphelps/flipt:$TAG markphelps/flipt:latest
docker tag ghcr.io/flipt-io/flipt:$TAG ghcr.io/flipt-io/flipt:latest
Expand Down

0 comments on commit 872c76a

Please sign in to comment.