From 36b31296e4fe1c26d72ac1d0daf587c0ebbbec45 Mon Sep 17 00:00:00 2001 From: Nathan Wagner Date: Wed, 5 Oct 2022 15:24:15 -0400 Subject: [PATCH] asd --- Jenkinsfile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Jenkinsfile b/Jenkinsfile index 0fa5a78..f794d7c 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -10,7 +10,9 @@ stages { stage('buildPush') { steps{ sh 'echo "ADASDASDSADSADASD"' - sh 'bash -c docker buildx create --bootstrap --name=jenkins-agent --driver=kubernetes --driver-opt=namespace=jenkinsagent --driver-opt=qemu.install=true --driver-opt=\\"nodeselector=kubernetes.io/arch=amd64\\" --config=<( echo \"[registry.\\"registry.local\\"]\" \"insecure = true\" ) --use' + sh '''#!/bin/bash + docker buildx create --bootstrap --name=jenkins-agent --driver=kubernetes --driver-opt=namespace=jenkinsagent --driver-opt=qemu.install=true --driver-opt=\\"nodeselector=kubernetes.io/arch=amd64\\" --config=<( echo \"[registry.\\"registry.local\\"]\" \"insecure = true\" ) --use + ''' sh 'docker buildx build . -t registry.local/rgbboard:v0.0.1 --push --platform=linux/arm64,linux/amd64' sh 'docker buildx rm jenkins-agent' }