Last active
November 16, 2022 23:53
-
-
Save cnukaus/6ee39abaede2d9837a894c173081c96b to your computer and use it in GitHub Desktop.
example cloudlbuild.yaml
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: | |
- name: 'gcr.io/cloud-builders/docker' | |
args:['build', '-t', '${_IMAGE_NAME}:latest'...'Dockerfile'] | |
- name: 'gcr.io/cloud-builers/docker' | |
args:['push','${_IMAGE_NAME}:latest'] | |
- name: 'gcr.io/google.com/cloudsdktool/cloud-sdk' | |
entry-point: gcloud | |
args: ['run', 'deploy','${_SERVIE_NAME}','--image','${_IMAGE_NAME}:latest','--memory','1G' | |
#'--service-account','${_SERVICE_ACCOUNT}' | |
'--allow-unauthenticated'] | |
images: | |
- '${_IMAGE_NAME}:latest' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment