chore: pin docker-compose image to version tag on release

Release script now updates docker-compose.yml with the exact version
tag so Dokploy always pulls the correct image.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
Frederic Cabassut
2026-03-06 23:45:47 +01:00
co-authored by Claude Opus 4.6
parent 40e32ae8fc
commit f1ee1744e7
2 changed files with 6 additions and 2 deletions
+5 -1
View File
@@ -60,7 +60,11 @@ echo "Bumping $BUMP version..."
npm version "$BUMP" -m "chore: bump version to %s" --no-git-tag-version
NEW_VERSION=$(node -p "require('./package.json').version")
git add package.json
# Pin docker-compose image to the new version tag
sed -i '' "s|image: ghcr.io/bretzel-app/crumbs:.*|image: ghcr.io/bretzel-app/crumbs:${NEW_VERSION}|" docker-compose.yml
git add package.json docker-compose.yml
git commit -m "chore: bump version to $NEW_VERSION"
git tag "v$NEW_VERSION"