File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -22,14 +22,14 @@ steps:
2222 args :
2323 [ 'build'
2424 , '--build-arg=python_version=$_PYTHON_VERSION'
25- , '--tag=gcr.io/$PROJECT_ID/$_IMAGE_TAG '
25+ , '--tag=gcr.io/$PROJECT_ID/$_IMAGE '
2626 , '.'
2727 ]
2828
2929 # Push the image to Container Registry.
3030 - name : gcr.io/cloud-builders/docker
31- args : [ 'push', 'gcr.io/$PROJECT_ID/$_IMAGE_TAG ' ]
31+ args : [ 'push', 'gcr.io/$PROJECT_ID/$_IMAGE ' ]
3232
3333substitutions :
3434 _PYTHON_VERSION : ' 3.8'
35- _IMAGE_TAG : samples/dataflow/tensorflow-gpu:latest
35+ _IMAGE : samples/dataflow/tensorflow-gpu:latest
Original file line number Diff line number Diff line change @@ -56,7 +56,7 @@ def image_name(configure_docker: None) -> str:
5656 # See the `cloudbuild.yaml` for the configuration for this build.
5757 substitutions = {
5858 "_PYTHON_VERSION" : platform .python_version (),
59- "_IMAGE_TAG " : IMAGE_NAME ,
59+ "_IMAGE " : IMAGE_NAME ,
6060 }
6161 print (f"-- Cloud build substitutions: { substitutions } " )
6262 subprocess .run (
You can’t perform that action at this time.
0 commit comments