ci: publish multi-arch container image to GHCR
Build linux/amd64 + linux/arm64 from the existing Dockerfile on every push to main, on git tags v*.*.*, and on manual workflow_dispatch. Pushes to ghcr.io/metalfinger/refboard with tags :latest (default branch), :sha-XXX (every push), and semver tags on releases. Uses GHA cache for speed. Tightens .dockerignore so multi-arch builds don't ship docs/, examples/, scripts/, .github/, or .docker-data into the image context. Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Opus 4.7
parent
9a02edd9dc
commit
9328713ae5
@@ -1,3 +1,10 @@
|
||||
**/node_modules
|
||||
**/.git
|
||||
**/.env
|
||||
.github
|
||||
.docker-data
|
||||
docs
|
||||
examples
|
||||
scripts
|
||||
*.md
|
||||
!README.md
|
||||
|
||||
Reference in New Issue
Block a user