fix(ci): give the tag job a git identity
build / build (24.04) (pull_request) Successful in 3m11s
build / build (26.10) (pull_request) Successful in 3m10s
build / build (26.04) (pull_request) Successful in 3m12s

git tag -a needs user.name and user.email, which the runner container does not have, so the tag job failed after every image had already been published.
This commit is contained in:
fristy committed 2026-11-20 14:53:50 +03:00
1 parent 5ff5e34919
commit 808ca2f088
1 file changed
+1 -1
+1 -1
View File
@@ -145,5 +145,5 @@ jobs:
echo "${version} is already tagged"
exit 0
fi
git tag -a "${version}" -m "${version}" "${GITHUB_SHA}"
git -c user.name="fristyagent" -c user.email="ai-agent@fristy.dev" tag -a "${version}" -m "${version}" "${GITHUB_SHA}"
git push origin "refs/tags/${version}"