fix(ci): give the tag job a git identity
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:
1 file changed
+1
-1
@@ -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}"
|
||||
Reference in new issue
Block a user