Use same tags for experiment

This commit is contained in:
Jamie Curnow 2020-07-30 14:00:59 +10:00
parent 85ac43bc5e
commit 8312bc0100

2
Jenkinsfile vendored
View File

@ -137,7 +137,7 @@ pipeline {
steps {
withCredentials([usernamePassword(credentialsId: 'jc21-dockerhub', passwordVariable: 'dpass', usernameVariable: 'duser')]) {
// Buildx to local cache
sh "./scripts/buildx --cache-to=type=local,dest=cache,mode=max -t ${IMAGE}:build-${BRANCH_LOWER}-${BUILD_NUMBER}"
sh "./scripts/buildx --cache-to=type=local,dest=cache,mode=max ${BUILDX_PUSH_TAGS}"
// Docker Login
sh "docker login -u '${duser}' -p '${dpass}'"
// Buildx with push from cache