Skip to content

Commit ea1a201

Browse files
committed
Add semver type support in GitHub Actions workflow: include patterns for versioning to enhance version management during builds.
1 parent 0af721c commit ea1a201

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.github/workflows/build.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -111,6 +111,8 @@ jobs:
111111
type=ref,event=branch
112112
type=ref,event=pr
113113
type=sha
114+
type=semver,pattern={{version}}
115+
type=semver,pattern={{major}}.{{minor}}
114116
type=raw,value=latest,enable={{is_default_branch}}
115117
116118
- name: Build and push Docker image

0 commit comments

Comments
 (0)