You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Apr 19, 2026. It is now read-only.
I got an issue, that I have not been able to find a solution for.
I have installed and setup cloud build to be able to build code fetched from my private github repositories. It is working and I have created nice flows that builds dockers and push them to GCR etc.
I have now added a new build where I would like to tag my docker images with the git tag. I found that I could use the TAG_NAME built-in substitution variable to do that. But my problem is that it is never set when running the build. It seems that when fetching/pull the code from github no tags are fetched/pull.
I got an issue, that I have not been able to find a solution for.
I have installed and setup cloud build to be able to build code fetched from my private github repositories. It is working and I have created nice flows that builds dockers and push them to
GCRetc.I have now added a new build where I would like to tag my docker images with the
git tag. I found that I could use theTAG_NAMEbuilt-in substitution variable to do that. But my problem is that it is never set when running the build. It seems that when fetching/pull the code from github no tags are fetched/pull.config yaml
Here is the tag on my git(hub) repo. (it has been pushed to remote too).
So what am I missing?
This here is the build-in substitutions for latest build, found on the execution detail tab under the failed build.
But the
TAG_NAMEis not set...Hope to hear from you soon. Thanks in advance.