1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 | options: logging: CLOUD_LOGGING_ONLY steps: - name: gcr.io/k8s-skaffold/pack id: build entrypoint: pack args: [ build, <映像檔名稱>, --builder, gcr.io/buildpacks/builder, ] - name: gcr.io/cloud-builders/docker id: push args: [ push, <映像檔名稱>, ] - name: gcr.io/cloud-builders/gcloud id: deploy entrypoint: gcloud args: [ run, deploy, <服務的名稱>, --image, <映像檔名稱>, --region, <服務的區域>, ] images: - <映像檔名稱> |
Direct link: https://paste.plurk.com/show/myRzuxaUNIUP4tP8sKFL