From 610ca3e8f73545809678b1ea0447a464fd99d88d Mon Sep 17 00:00:00 2001 From: Nathan Wagner Date: Wed, 5 Oct 2022 15:18:24 -0400 Subject: [PATCH] dumb maybe --- Jenkinsfile | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index ea995ca..a1ffa03 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -9,12 +9,10 @@ stages { }*/ stage('buildPush') { steps{ - sh(''' - echo "ADASDASDSADSADASD" - 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 - docker buildx build . -t registry.local/rgbboard:v0.0.1 --push --platform=linux/arm64,linux/amd64 - docker buildx rm jenkins-agent - ''') + sh 'echo "ADASDASDSADSADASD"' + sh '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' }