Skip to content

Commit

Permalink
more CI/CD fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
routerino committed Jul 27, 2022
1 parent 7a49469 commit 3566179
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/publish-release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,11 @@ jobs:
# setting tags
if echo "$VERSION" | grep -q "beta"; then
TAGS="beta, $VERSION, latest"
TAGS="ghcr.io/${{ github.repository }}:beta, ghcr.io/${{ github.repository }}:$VERSION, ghcr.io/${{ github.repository }}:latest"
PRIMARY_TAG=latest
else
TAGS="release, latest, $VERSION"
TAGS="ghcr.io/${{ github.repository }}:release, ghcr.io/${{ github.repository }}:latest, ghcr.io/${{ github.repository }}:$VERSION"
PRIMARY_TAG=latest
fi
echo "::set-output name=TAG::$TAGS"
Expand All @@ -46,7 +47,7 @@ jobs:
VERSION=${{ steps.gathervars.outputs.VERSION }}
context: ./docker/production
tags: |
ghcr.io/${{ github.repository }}:${{ steps.gathervars.outputs.TAG }}
${{ steps.gathervars.outputs.TAG }}
push: true

- name: Extract build out of docker image
Expand Down

0 comments on commit 3566179

Please sign in to comment.