Add versioning, release workflow and changelog
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
c22d452720
commit
7c3657d015
11 files changed
+222
-11
No files matched your search
@@ -1,6 +1,7 @@
|
||||
# Builds the image on every push to main, pushes it to the Gitea registry (tagged
|
||||
# :latest AND the short commit SHA, for rollback) and deploys the stack on Unraid
|
||||
# from deploy/unraid/compose.yaml (Tom's personal Unraid setup).
|
||||
# :main AND the short commit SHA, for rollback) and deploys the stack on Unraid
|
||||
# from deploy/unraid/compose.yaml (Tom's personal Unraid setup). Releases (:latest,
|
||||
# :X.Y.Z) come from version tags in release.yml and are never deployed here.
|
||||
#
|
||||
# The deploy works because the act_runner runs ON Unraid and hands its Docker
|
||||
# socket to the job: every `docker` command here talks to the Unraid daemon, so
|
||||
@@ -58,13 +59,15 @@ jobs:
|
||||
id: sha
|
||||
run: echo "short=$(git rev-parse --short HEAD)" >> "$GITHUB_OUTPUT"
|
||||
|
||||
- name: Build and push (:latest and :<sha>)
|
||||
- name: Build and push (:main and :<sha>)
|
||||
uses: docker/build-push-action@v6
|
||||
with:
|
||||
context: .
|
||||
push: true
|
||||
build-args: |
|
||||
VERSION=0.0.0-dev+${{ steps.sha.outputs.short }}
|
||||
tags: |
|
||||
${{ env.IMAGE }}:latest
|
||||
${{ env.IMAGE }}:main
|
||||
${{ env.IMAGE }}:${{ steps.sha.outputs.short }}
|
||||
|
||||
deploy:
|
||||
|
||||
Reference in new issue
Block a user