mirror of https://github.com/kubernetes/kops.git
CI: BUILD_TAG is used by Jenkins
This commit is contained in:
parent
1529f634f5
commit
ec4151bdb4
|
@ -9,7 +9,7 @@ readonly GITISH=${BUILD_GITISH:-"$(git describe --always)"}
|
|||
readonly ARCH=${BUILD_ARCH:-"linux/amd64"}
|
||||
readonly NAME=${BUILD_NAME:-"ci-${GITISH}-${ARCH/\//-}"} # e.g. ci-bef7faf-linux-amd64
|
||||
readonly TMPNAME="${NAME}-$(date +%s)" # e.g. ci-bef7faf-linux-amd64-12345678
|
||||
readonly TAG=${BUILD_TAG:-"b.gcr.io/kops-ci/kops:${NAME}"}
|
||||
readonly TAG=${BUILD_DOCKER_TAG:-"b.gcr.io/kops-ci/kops:${NAME}"}
|
||||
readonly TMPTAG="${TAG}-$(date +%s)"
|
||||
readonly LINK=${BUILD_LINK:-} # Also pushes to e.g. ci-{BUILD_LINK}-linux-amd64, i.e. for "latest"
|
||||
readonly SYMBOLIC_TAG=${BUILD_TAG:-"b.gcr.io/kops-ci/kops:ci-${LINK}-${ARCH/\//-}"}
|
||||
|
|
Loading…
Reference in New Issue