Skip to content

Commit 3e977c8

Browse files
committed
👷 Temporarily disable pushing stable tag
because in its current form, backports would also be pushed as stable
1 parent 6619593 commit 3e977c8

File tree

1 file changed

+11
-11
lines changed

1 file changed

+11
-11
lines changed

.github/workflows/publish.yml

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -51,15 +51,15 @@ jobs:
5151
- name: Push the Docker image
5252
run: docker push ${{ inputs.docker-image-name }}:${{ steps.vars.outputs.version }}
5353

54-
- name: Push stable tag
55-
if: startsWith(github.ref, 'refs/tags/')
56-
run: |
57-
TAG_NAME="${{ steps.vars.outputs.version }}"
54+
# - name: Push stable tag
55+
# if: startsWith(github.ref, 'refs/tags/')
56+
# run: |
57+
# TAG_NAME="${{ steps.vars.outputs.version }}"
5858

59-
if [[ "$TAG_NAME" =~ ^[0-9]+\.[0-9]+(\.[0-9]+)?$ ]]; then
60-
docker tag ${{ inputs.docker-image-name }}:$TAG_NAME \
61-
${{ inputs.docker-image-name }}:stable
62-
docker push ${{ inputs.docker-image-name }}:stable
63-
else
64-
echo "Tag '$TAG_NAME' is not a stable version, not updating stable docker tag"
65-
fi
59+
# if [[ "$TAG_NAME" =~ ^[0-9]+\.[0-9]+(\.[0-9]+)?$ ]]; then
60+
# docker tag ${{ inputs.docker-image-name }}:$TAG_NAME \
61+
# ${{ inputs.docker-image-name }}:stable
62+
# docker push ${{ inputs.docker-image-name }}:stable
63+
# else
64+
# echo "Tag '$TAG_NAME' is not a stable version, not updating stable docker tag"
65+
# fi

0 commit comments

Comments
 (0)