Created
June 30, 2021 10:05
-
-
Save JaniKibichi/0116f7ba1e67a7c5dc55c6a9af4a9016 to your computer and use it in GitHub Desktop.
Cloudbuild file for ussd
This file contains 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/smart-surf-285319/ussdapi", "."] | |
# push container image | |
- name: "gcr.io/cloud-builders/docker" | |
args: ["push", "gcr.io/smart-surf-285319/ussdapi"] | |
# deploy container image to GKE | |
- name: "gcr.io/cloud-builders/gke-deploy" | |
args: | |
- run | |
- --filename=deployment.yaml | |
- --image=gcr.io/smart-surf-285319/ussdapi | |
- --location=us-central1-a | |
- --cluster=ussd-cluster |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment