Only build on version tags
This commit is contained in:
1 parent
a1f73f73d7
commit
bab6381546
1 file changed
+4
@@ -2,6 +2,10 @@ name: Create and publish a Docker image
|
||||
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- main
|
||||
tags:
|
||||
- 'v*' # Only on version tags like v1.0, v2.0, etc.
|
||||
|
||||
env:
|
||||
REGISTRY: ghcr.io
|
||||
|
||||
Reference in new issue
Block a user