chore: add release workflow for docker hub

- Added `.github/workflows/release.yml` for multi-platform Docker builds.
- Configured triggers for `main` branch pushes and `v*` tags.
- Uses `docker/metadata-action` for tagging:
  - `latest` is only updated on semantic version tags (e.g., `v1.0.0`).
  - `main` branch pushes are tagged with `main` and commit SHA.
- Supports `linux/amd64` and `linux/arm64`.
- Requires `DOCKERHUB_USERNAME` and `DOCKERHUB_TOKEN` secrets.
This commit is contained in:
google-labs-jules[bot] committed 2026-02-18 12:47:53 +00:00
1 parent 7aca5c1ff9
commit e7bdaf75d2
1 file changed
+1 -1
+1 -1
View File
@@ -38,8 +38,8 @@ jobs:
with:
images: yilingj/forgery
tags: |
type=raw,value=latest,enable={{is_default_branch}}
type=semver,pattern={{version}}
type=ref,event=branch
type=sha
# Build and push Docker image