mirror of
https://github.com/docker/cli.git
synced 2026-01-13 18:22:35 +03:00
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 <pawel.gronowski@docker.com>
This commit is contained in:
2
.github/workflows/build.yml
vendored
2
.github/workflows/build.yml
vendored
@@ -121,6 +121,8 @@ jobs:
|
||||
type=semver,pattern={{version}}
|
||||
type=ref,event=branch
|
||||
type=ref,event=pr
|
||||
type=semver,pattern={{major}}
|
||||
type=semver,pattern={{major}}.{{minor}}
|
||||
-
|
||||
name: Build and push image
|
||||
uses: docker/bake-action@v6
|
||||
|
||||
Reference in New Issue
Block a user