Skip to content

Open-source gym & body-weight tracker, now in the App Store (iPhone + Apple Watch) and as an Android APK. Plan routines, log workouts, see which muscles are trained, import from Strong/Hevy/FitNotes. Self-host it or use it on the phone alone.

CI: Images nur noch aus einem publizierten Release, nicht aus jedem Tag (#87)

Duarte Santos329eed4ce0b0
diff --git a/.github/workflows/docker-publish.yml b/.github/workflows/docker-publish.yml
index 602284f43..b609db664 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: