From 329eed4ce0b0907d6cb392db560828613509c419 Mon Sep 17 00:00:00 2001 From: Duarte Santos Date: Tue, 18 Aug 2026 11:39:26 +0200 Subject: [PATCH] CI: Images nur noch aus einem publizierten Release, nicht aus jedem Tag (#87) --- .github/workflows/docker-publish.yml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/.github/workflows/docker-publish.yml b/.github/workflows/docker-publish.yml index 602284f..b609db6 100644 --- a/.github/workflows/docker-publish.yml +++ b/.github/workflows/docker-publish.yml @@ -1,9 +1,14 @@ name: Publish Docker images +# Images are published from a *published release*, never from a bare tag push. +# A tag that is later deleted (the versioning rule consolidates unreleased tags) +# would otherwise leave its image tags behind in GHCR forever, and dependency +# bots read those as a newer version. See issue #87. on: push: branches: [main] - tags: ['v*'] + release: + types: [published] workflow_dispatch: permissions: