Test build on arm64
All checks were successful
Home Cluster Builds/Image-ElixirPhoenix-1.11.3/pipeline/head This commit looks good
All checks were successful
Home Cluster Builds/Image-ElixirPhoenix-1.11.3/pipeline/head This commit looks good
This commit is contained in:
4
cicd/Jenkinsfile
vendored
4
cicd/Jenkinsfile
vendored
@@ -12,7 +12,7 @@ metadata:
|
|||||||
spec:
|
spec:
|
||||||
serviceAccountName: jenkins-admin
|
serviceAccountName: jenkins-admin
|
||||||
nodeSelector:
|
nodeSelector:
|
||||||
kubernetes.io/arch: amd64
|
kubernetes.io/arch: arm64
|
||||||
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-amd64:1.11.3'
|
sh '/kaniko/executor --dockerfile `pwd`/cicd/'+env.BRANCH_NAME+'/Dockerfile --context `pwd` --destination 192.168.195.195:30000/elixir-phoenix-arm64:1.11.3'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user