dumb maybe

pull/2/head
Nathan Wagner 2 years ago
parent 6af174b0e5
commit 610ca3e8f7

10
Jenkinsfile vendored

@ -9,12 +9,10 @@ stages {
}*/ }*/
stage('buildPush') { stage('buildPush') {
steps{ steps{
sh(''' sh 'echo "ADASDASDSADSADASD"'
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'
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'
docker buildx build . -t registry.local/rgbboard:v0.0.1 --push --platform=linux/arm64,linux/amd64 sh 'docker buildx rm jenkins-agent'
docker buildx rm jenkins-agent
''')
} }

Loading…
Cancel
Save