diff --git a/.gitea/workflows/release.yml b/.gitea/workflows/release.yml index e589ed2..5d8e2e6 100644 --- a/.gitea/workflows/release.yml +++ b/.gitea/workflows/release.yml @@ -223,8 +223,9 @@ jobs: method: "POST", headers: { ...headers, "Content-Type": "application/json" }, // Must be the tag, not master: metadata-action only emits the - // X.Y.Z and X.Y image tags when the ref is a semver tag. - body: JSON.stringify({ ref: tag }), + // X.Y.Z and X.Y image tags when the ref is a semver tag. And + // it must be the fully qualified ref — Gitea 404s on `v1.0.3`. + body: JSON.stringify({ ref: `refs/tags/${tag}` }), }, ); if (!res.ok) console.log(`Dispatch returned HTTP ${res.status}.`);