pull/2/head
Nathan Wagner 2 years ago
parent f1e5f6fad0
commit 3cde23714a

2
Jenkinsfile vendored

@ -10,7 +10,7 @@ stages {
stage('buildPush') {
steps{
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 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'
}

Loading…
Cancel
Save