From e7bdaf75d2935040290c2325d2b85a106a66d3bc Mon Sep 17 00:00:00 2001 From: "google-labs-jules[bot]" <161369871+google-labs-jules[bot]@users.noreply.github.com> Date: Wed, 18 Feb 2026 12:47:53 +0000 Subject: [PATCH] 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. --- .github/workflows/release.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 7ef3c4f..56f052f 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -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