Skip to content

Commit 3566179

Browse files
committed
more CI/CD fixes
1 parent 7a49469 commit 3566179

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

.github/workflows/publish-release.yaml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,10 +22,11 @@ jobs:
2222
2323
# setting tags
2424
if echo "$VERSION" | grep -q "beta"; then
25-
TAGS="beta, $VERSION, latest"
25+
26+
TAGS="ghcr.io/${{ github.repository }}:beta, ghcr.io/${{ github.repository }}:$VERSION, ghcr.io/${{ github.repository }}:latest"
2627
PRIMARY_TAG=latest
2728
else
28-
TAGS="release, latest, $VERSION"
29+
TAGS="ghcr.io/${{ github.repository }}:release, ghcr.io/${{ github.repository }}:latest, ghcr.io/${{ github.repository }}:$VERSION"
2930
PRIMARY_TAG=latest
3031
fi
3132
echo "::set-output name=TAG::$TAGS"
@@ -46,7 +47,7 @@ jobs:
4647
VERSION=${{ steps.gathervars.outputs.VERSION }}
4748
context: ./docker/production
4849
tags: |
49-
ghcr.io/${{ github.repository }}:${{ steps.gathervars.outputs.TAG }}
50+
${{ steps.gathervars.outputs.TAG }}
5051
push: true
5152

5253
- name: Extract build out of docker image

0 commit comments

Comments
 (0)