Add release/dev build scripts and branch-based deploy workflow #1

Merged
Tom merged 1 commits from deployment/sha-tagging into main 2026-09-21 08:22:15 +02:00
Owner
  • scripts/release.sh: build from main, tag :latest + short SHA, push
    both. Aborts if not on main or working tree is dirty; warns on
    unpushed commits. Prevents dev states from becoming :latest.
  • scripts/dev-build.sh: local dev image (tagged per branch), never
    pushed -- keeps development builds off the registry.
  • docs/deployment.md: document branch/PR workflow, replace manual
    build/push steps with the scripts, SHA-based rollback now standard.
  • .gitattributes: force LF on *.sh so the shebang works on Windows.

Co-Authored-By: Claude Opus 4.8 noreply@anthropic.com

- scripts/release.sh: build from main, tag :latest + short SHA, push both. Aborts if not on main or working tree is dirty; warns on unpushed commits. Prevents dev states from becoming :latest. - scripts/dev-build.sh: local dev image (tagged per branch), never pushed -- keeps development builds off the registry. - docs/deployment.md: document branch/PR workflow, replace manual build/push steps with the scripts, SHA-based rollback now standard. - .gitattributes: force LF on *.sh so the shebang works on Windows. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Tom added 1 commit 2026-09-21 08:21:20 +02:00
- scripts/release.sh: build from main, tag :latest + short SHA, push
  both. Aborts if not on main or working tree is dirty; warns on
  unpushed commits. Prevents dev states from becoming :latest.
- scripts/dev-build.sh: local dev image (tagged per branch), never
  pushed -- keeps development builds off the registry.
- docs/deployment.md: document branch/PR workflow, replace manual
  build/push steps with the scripts, SHA-based rollback now standard.
- .gitattributes: force LF on *.sh so the shebang works on Windows.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Tom merged commit 8643f2c0ca into main 2026-09-21 08:22:15 +02:00
Tom deleted branch deployment/sha-tagging 2026-09-21 08:22:16 +02:00
Sign in to join this conversation.
No Reviewers
No labels
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: Tom/Elternbeirat#1