|
|
@ -11,9 +11,9 @@ stages {
|
|
|
|
steps{
|
|
|
|
steps{
|
|
|
|
sh('''
|
|
|
|
sh('''
|
|
|
|
echo "ADASDASDSADSADASD"
|
|
|
|
echo "ADASDASDSADSADASD"
|
|
|
|
docker buildx rm jenkins-agent
|
|
|
|
|
|
|
|
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
|
|
|
|
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
|
|
|
|
|
|
|
|
docker buildx rm jenkins-agent
|
|
|
|
''')
|
|
|
|
''')
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|