chore(ci): publish latest from main and retire the edge tag (#711)

* fix(docs): update versioning strategy and tag policies for Docker images

* fix(docs): clarify versioning strategy in environment configuration
fix(docker): update docker-push script to remove local latest tag handling

* fix(docs): clarify VERSION variable usage in Docker push script
This commit is contained in:
Abdulmuizz Hamzat
2026-07-07 12:59:33 +01:00
committed by GitHub
parent e8181b296b
commit 2e402efa78
7 changed files with 26 additions and 35 deletions
+4 -5
View File
@@ -124,15 +124,14 @@ jobs:
uses: docker/metadata-action@v5
with:
images: ${{ env.DOCKERHUB_USERNAME }}/${{ matrix.image }}
# Tag policy (stable-releases + edge):
# git tag v1.4.2 -> 1.4.2, 1.4, 1, latest (a real, stable release)
# push to main -> edge only (latest is NEVER moved by a merge)
# Tag policy:
# push to main -> latest (freshest main build; moves on every merge)
# git tag v1.4.2 -> 1.4.2, 1.4, 1 (immutable, pinned release)
tags: |
type=semver,pattern={{version}}
type=semver,pattern={{major}}.{{minor}}
type=semver,pattern={{major}}
type=raw,value=latest,enable=${{ startsWith(github.ref, 'refs/tags/') }}
type=raw,value=edge,enable={{is_default_branch}}
type=raw,value=latest,enable={{is_default_branch}}
- name: Build and push ${{ matrix.name }}
uses: docker/build-push-action@v5