We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents b39a68d + bdc5a2a commit f397f77Copy full SHA for f397f77
.github/workflows/publish.yml
@@ -60,3 +60,12 @@ jobs:
60
61
- name: Push the Docker image
62
run: docker push ${{ inputs.docker-image-name }}:${{ steps.vars.outputs.tag }}
63
+
64
+ - name: Push stable tag
65
+ if: >
66
+ startsWith(github.ref, 'refs/tags/') &&
67
+ matches(github.ref, '^refs/tags/v?[0-9]+\\.[0-9]+(\\.[0-9]+)?$')
68
+ run: |
69
+ docker tag ${{ inputs.docker-image-name }}:${{ steps.vars.outputs.tag }} \
70
+ ${{ inputs.docker-image-name }}:stable
71
+ docker push ${{ inputs.docker-image-name }}:stable
0 commit comments