Skip to content

Commit 0c0e136

Browse files
committed
facilitate a 'stable' tag in GHCR
1 parent 00f824f commit 0c0e136

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/promote-to-stable.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ jobs:
2222
username: ${{ secrets.GHCR_USER }}
2323
password: ${{ secrets.GHCR_PAT }}
2424

25-
- name: Pull and retag image
25+
- name: Retag image as stable
2626
run: |
2727
IMAGE_NAME=ghcr.io/${{ github.repository_owner }}/ziti-browzer-bootstrapper
2828
VERSION=${{ github.event.inputs.version }}
@@ -34,4 +34,4 @@ jobs:
3434
docker tag $IMAGE_NAME:$VERSION $IMAGE_NAME:stable
3535
3636
# Push the new stable tag
37-
docker push $IMAGE_NAME:stable
37+
docker push $IMAGE_NAME:$VERSION $IMAGE_NAME:stable

0 commit comments

Comments
 (0)