Skip to content

Commit 70867e7

Browse files
committed
gha/bin-image: add major and minor version image tags
Adding image tags that follow the semver major and minor versions (e.g., `28` and `28.3`) for the moby-bin images. This makes it easier for users to reference the latest build within a major or minor version series without having to know the exact minor/patch version. Signed-off-by: Paweł Gronowski <[email protected]>
1 parent 38b7060 commit 70867e7

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
@@ -121,6 +121,8 @@ jobs:
121121
type=semver,pattern={{version}}
122122
type=ref,event=branch
123123
type=ref,event=pr
124+
type=semver,pattern={{major}}
125+
type=semver,pattern={{major}}.{{minor}}
124126
-
125127
name: Build and push image
126128
uses: docker/bake-action@v6

0 commit comments

Comments
 (0)