From 8fb8381c09603b6e834c3831fc06cd5dafaef183 Mon Sep 17 00:00:00 2001 From: kolaente Date: Wed, 7 Jan 2026 09:39:37 +0100 Subject: [PATCH] fix(ci): push latest tag from main branch --- .github/workflows/ci.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 1b32cc6..ecce0a8 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -87,6 +87,11 @@ jobs: images: | kolaente/db-backup ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }} + tags: | + type=raw,value=latest,enable={{is_default_branch}} + type=ref,event=branch + type=semver,pattern={{version}} + type=semver,pattern={{major}}.{{minor}} - name: Build and push Docker image id: build-and-push