Fix these issues:
- BUILD_ID tag was not propagated to invocation image build therefore there was a
mismatch between the binary and the invocation image version.
- The TAG env var was not set when building a release on Jenkins which lead to release the
binaries with an incorrect version and publish the base invocation image
with an invalid tag. This patch ensure that both TAG and BUILD_TAG are set to the same
value. When a tag is built, TAG and BUILD_TAG are set to the name of the tag
- Fix github repository name in release stage when pushing the binaries
Signed-off-by: Jean-Christophe Sirot <jean-christophe.sirot@docker.com>
There were two different ways to build an invocation image, with this
change there will be one and only one way.
Signed-off-by: Djordje Lukic <djordje.lukic@docker.com>
Since we are using `docker context` that is not yet released we need to
cross-compile the master branch of the cli on Jenkins for our e2e tests
to run.
This takes a lot of time when not on Linux and it doesn't make sense to
do locally.
With the new Dockerfile.invocation-image it's possible to run
`make invocation-image` and build the invocation image without
recompiling the cli.
Signed-off-by: Djordje Lukic <djordje.lukic@docker.com>