pull/2/head
Nathan Wagner 2 years ago
parent 18b2e172f5
commit 3465901f59

4
Jenkinsfile vendored

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

Loading…
Cancel
Save