|
|
@ -11,7 +11,7 @@ stages {
|
|
|
|
steps{
|
|
|
|
steps{
|
|
|
|
sh 'echo "ADASDASDSADSADASD"'
|
|
|
|
sh 'echo "ADASDASDSADSADASD"'
|
|
|
|
sh '''#!/bin/bash
|
|
|
|
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\\" --driver-opt=\\"image=registry.local/buildkit-wagnerca:stable-1-rootless\\" --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-2-rootless\\" --use
|
|
|
|
'''
|
|
|
|
'''
|
|
|
|
sh 'docker buildx build . -t registry.local/rgbboard:v0.0.$BUILD_NUMBER --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'
|
|
|
|
sh 'docker buildx rm jenkins-agent'
|
|
|
|