Ver Fonte

Use same tags for experiment

Jamie Curnow há 5 anos atrás
pai
commit
8312bc0100
1 ficheiros alterados com 1 adições e 1 exclusões
  1. 1 1
      Jenkinsfile

+ 1 - 1
Jenkinsfile

@@ -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