You should be able to use it, just like with any other environment variable <https://docs.go.cd/current/faq/environment_variables.html>.
On Mon, Sep 26, 2016 at 1:07 PM, Hugh Acland <[email protected]> wrote: > Hi > > I have a job which builds a Docker image. Is there a way to get access to > the build run number (which I think is called 'label') so I can use it in > the image tag. Sort of like this: > > > ========= > build > -t > my.example.com:5000/presentation-data:{go-label} > <http://my.example.com:5000/presentation-data:%7Bgo-label%7D> > . > ========= > > Is this possible? > > Thanks > Hugh > > -- > You received this message because you are subscribed to the Google Groups > "go-cd" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "go-cd" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
