From 3465901f59f0e8ac33f70130a614a8f8c7206d7b Mon Sep 17 00:00:00 2001 From: Nathan Wagner Date: Tue, 11 Oct 2022 08:47:05 -0400 Subject: [PATCH] testing --- Jenkinsfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index 05dd3a1..78f4157 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -11,9 +11,9 @@ stages { steps{ sh 'echo "ADASDASDSADSADASD"' 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 + 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\\" --driver-opt=\\"image=registry.local/buildkit-wagnerca:stable-1 ) --use ''' - sh 'docker buildx build . -t registry.local/rgbboard:v0.0.1 --push --platform=linux/arm64,linux/amd64' + sh 'docker buildx build . -t registry.local/rgbboard:v0.0.$BUILD_NUMBER --push --platform=linux/arm64,linux/amd64' sh 'docker buildx rm jenkins-agent' }