Test build on amd64
All checks were successful
Home Cluster Builds/Image-ElixirPhoenix-1.11.3/pipeline/head This commit looks good

This commit is contained in:
2023-01-11 22:34:46 +02:00
parent da51d0463f
commit b90bb9f3ba

4
cicd/Jenkinsfile vendored
View File

@@ -12,7 +12,7 @@ metadata:
spec: spec:
serviceAccountName: jenkins-admin serviceAccountName: jenkins-admin
nodeSelector: nodeSelector:
kubernetes.io/arch: arm64 kubernetes.io/arch: amd64
containers: containers:
- name: kaniko - name: kaniko
image: gcr.io/kaniko-project/executor:debug image: gcr.io/kaniko-project/executor:debug
@@ -46,7 +46,7 @@ spec:
stage('Docker Build and Push') { stage('Docker Build and Push') {
steps { steps {
container("kaniko") { container("kaniko") {
sh '/kaniko/executor --dockerfile `pwd`/cicd/'+env.BRANCH_NAME+'/Dockerfile --context `pwd` --destination 192.168.195.195:30000/elixir-phoenix-arm64:1.11.3' sh '/kaniko/executor --dockerfile `pwd`/cicd/'+env.BRANCH_NAME+'/Dockerfile --context `pwd` --destination 192.168.195.195:30000/elixir-phoenix-amd64:1.11.3'
} }
} }
} }