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.
1 parent e8fa1ef commit 6957860Copy full SHA for 6957860
.github/workflows/WebGSM-Docker.yml
@@ -3,8 +3,7 @@ name: WebGSM-Docker # Build and Publish
3
on:
4
push:
5
tags:
6
- - 'v*.*.*'
7
- pull_request: # Optional: Run for pull requests to test
+ - 'v*.*.*' # This will trigger the action on tag pushes like v1.0.0
8
9
jobs:
10
build-and-push:
@@ -34,4 +33,4 @@ jobs:
34
33
push: true
35
tags: |
36
ghcr.io/${{ env.REPOSITORY_OWNER }}/webgsm:latest
37
- ghcr.io/${{ env.REPOSITORY_OWNER }}/webgsm:${{ github.run_number }}
+ ghcr.io/${{ env.REPOSITORY_OWNER }}/webgsm:${{ github.ref_name }} # Using the tag name that triggered the action
0 commit comments