File tree Expand file tree Collapse file tree 1 file changed +11
-11
lines changed
Expand file tree Collapse file tree 1 file changed +11
-11
lines changed Original file line number Diff line number Diff 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
You can’t perform that action at this time.
0 commit comments