github.com/olli-ai/jx/v2@v2.0.400-0.20210921045218-14731b4dd448/jenkins-x-images.yml (about) 1 buildPack: none 2 pipelineConfig: 3 pipelines: 4 pullRequest: 5 pipeline: 6 agent: 7 image: gcr.io/kaniko-project/executor:9912ccbf8d22bbafbf971124600fbb0b13b9cbd6 8 stages: 9 - name: ci 10 environment: 11 - name: GIT_COMMITTER_EMAIL 12 value: jenkins-x@googlegroups.com 13 - name: GIT_AUTHOR_EMAIL 14 value: jenkins-x@googlegroups.com 15 - name: GIT_AUTHOR_NAME 16 value: jenkins-x-bot 17 - name: GIT_COMMITTER_NAME 18 value: jenkins-x-bot 19 - name: BASE_WORKSPACE 20 value: /workspace/source 21 - name: GOPROXY 22 value: http://jenkins-x-athens-proxy:80 23 - name: PARALLEL_BUILDS 24 value: "2" 25 - name: GOOGLE_APPLICATION_CREDENTIALS 26 value: /secrets/kaniko/kaniko-secret.json 27 options: 28 volumes: 29 - name: kaniko-secret 30 secret: 31 secretName: kaniko-secret 32 items: 33 - key: kaniko-secret 34 path: kaniko/kaniko-secret.json 35 containerOptions: 36 volumeMounts: 37 - name: kaniko-secret 38 mountPath: /secrets 39 resources: 40 limits: 41 cpu: 4 42 memory: 6144Mi 43 requests: 44 cpu: 3 45 memory: 3072Mi 46 steps: 47 - name: build-binary 48 image: docker.io/golang:1.13.8 49 command: make 50 args: ['linux'] 51 52 - name: validate-binary 53 image: docker.io/golang:1.13.8 54 command: "./build/linux/jx" 55 args: ['help'] 56 57 - name: build-and-push-image 58 command: /kaniko/executor 59 args: ['--dockerfile=/workspace/source/Dockerfile','--destination=gcr.io/jenkinsxio/jx:$(inputs.params.version)','--context=/workspace/source','--cache-repo=jenkins-x-docker-registry.jx.svc.cluster.local:5000/','--cache=true','--cache-dir=/workspace','--skip-tls-verify-registry=jenkins-x-docker-registry.jx.svc.cluster.local:5000'] 60 61 - name: build-and-push-nodejs 62 command: /kaniko/executor 63 args: ['--dockerfile=/workspace/source/Dockerfile.builder-nodejs','--destination=gcr.io/jenkinsxio/builder-nodejs:$(inputs.params.version)','--context=/workspace/source','--cache-repo=jenkins-x-docker-registry.jx.svc.cluster.local:5000/','--cache=true','--cache-dir=/workspace','--skip-tls-verify-registry=jenkins-x-docker-registry.jx.svc.cluster.local:5000'] 64 65 - name: build-and-push-maven 66 command: /kaniko/executor 67 args: ['--dockerfile=/workspace/source/Dockerfile.builder-maven','--destination=gcr.io/jenkinsxio/builder-maven:$(inputs.params.version)','--context=/workspace/source','--cache-repo=jenkins-x-docker-registry.jx.svc.cluster.local:5000/','--cache=true','--cache-dir=/workspace','--skip-tls-verify-registry=jenkins-x-docker-registry.jx.svc.cluster.local:5000'] 68 69 - name: build-and-push-go 70 command: /kaniko/executor 71 args: ['--dockerfile=/workspace/source/Dockerfile.builder-go','--destination=gcr.io/jenkinsxio/builder-go:$(inputs.params.version)','--context=/workspace/source','--cache-repo=jenkins-x-docker-registry.jx.svc.cluster.local:5000/','--cache=true','--cache-dir=/workspace','--skip-tls-verify-registry=jenkins-x-docker-registry.jx.svc.cluster.local:5000'] 72 73 - name: build-and-push-go-maven 74 command: /kaniko/executor 75 args: ['--dockerfile=/workspace/source/Dockerfile.builder-go-maven','--destination=gcr.io/jenkinsxio/builder-go-maven:$(inputs.params.version)','--context=/workspace/source','--cache-repo=jenkins-x-docker-registry.jx.svc.cluster.local:5000/','--cache=true','--cache-dir=/workspace','--skip-tls-verify-registry=jenkins-x-docker-registry.jx.svc.cluster.local:5000'] 76 77 - name: build-and-push-ml 78 command: /kaniko/executor 79 args: ['--dockerfile=/workspace/source/Dockerfile.builder-ml','--destination=gcr.io/jenkinsxio/builder-machine-learning:$(inputs.params.version)','--context=/workspace/source','--cache-repo=jenkins-x-docker-registry.jx.svc.cluster.local:5000/','--cache=true','--cache-dir=/workspace','--skip-tls-verify-registry=jenkins-x-docker-registry.jx.svc.cluster.local:5000'] 80