Created
June 29, 2021 15:22
-
-
Save JaniKibichi/23a9509c2e2f8721d5ca3b7ac8646132 to your computer and use it in GitHub Desktop.
To GKE
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
steps: | |
# build the container image | |
- name: "gcr.io/cloud-builders/docker" | |
args: ["build", "-t", "gcr.io/vivo-ussd-november-26th-2019/bboxxapi", "."] | |
# push container image | |
- name: "gcr.io/cloud-builders/docker" | |
args: ["push", "gcr.io/vivo-ussd-november-26th-2019/bboxxapi"] | |
# deploy container image to GKE | |
- name: "gcr.io/cloud-builders/gke-deploy" | |
args: | |
- run | |
- --filename=deployment.yaml | |
- --image=gcr.io/vivo-ussd-november-26th-2019/bboxxapi | |
- --location=us-central1-a | |
- --cluster=bboxx-cluster |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment