Skip to content

Commit

Permalink
Fixed pushing rc tags
Browse files Browse the repository at this point in the history
  • Loading branch information
antoniomika committed May 3, 2020
1 parent 9302841 commit 9da142b
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
5 changes: 4 additions & 1 deletion .github/workflows/docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,10 @@ jobs:
if [[ ${GITHUB_REF} =~ ^refs\/tags\/v.*$ ]]
then
REF="${GITHUB_REF//refs\/tags\/}"
OTHER_TAGS="${OTHER_TAGS} -t ${GITHUB_REPOSITORY}:latest"
if ! [[ ${GITHUB_REF} =~ ^refs\/tags\/v.*-.*$ ]]
then
OTHER_TAGS="${OTHER_TAGS} -t ${GITHUB_REPOSITORY}:latest"
fi
fi
docker buildx build \
Expand Down
2 changes: 1 addition & 1 deletion .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,5 +33,5 @@ archives:
files:
- LICENSE*
- README*
- pubkeys/
- deploy/pubkeys/
- templates/**/*

0 comments on commit 9da142b

Please sign in to comment.