Hi,
Yes, you can use ${GO_PIPELINE_LABEL}.
If you go to the console view of any particular job, it'll list out all the
environment variables (including the built-in ones from Go, like the
above), and you can refer to them at any point in the job.
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.