Skip to content

Commit 6957860

Browse files
committed
removed github version number and added tag version - test
1 parent e8fa1ef commit 6957860

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

.github/workflows/WebGSM-Docker.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,7 @@ name: WebGSM-Docker # Build and Publish
33
on:
44
push:
55
tags:
6-
- 'v*.*.*'
7-
pull_request: # Optional: Run for pull requests to test
6+
- 'v*.*.*' # This will trigger the action on tag pushes like v1.0.0
87

98
jobs:
109
build-and-push:
@@ -34,4 +33,4 @@ jobs:
3433
push: true
3534
tags: |
3635
ghcr.io/${{ env.REPOSITORY_OWNER }}/webgsm:latest
37-
ghcr.io/${{ env.REPOSITORY_OWNER }}/webgsm:${{ github.run_number }}
36+
ghcr.io/${{ env.REPOSITORY_OWNER }}/webgsm:${{ github.ref_name }} # Using the tag name that triggered the action

0 commit comments

Comments
 (0)