Skip to content

Commit 9004409

Browse files
David Cavazosleahecole
andauthored
renamed _IMAGE_TAG to _IMAGE (GoogleCloudPlatform#5639)
Co-authored-by: Leah E. Cole <6719667+leahecole@users.noreply.github.com>
1 parent fa179f1 commit 9004409

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

dataflow/gpu-workers/cloudbuild.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff 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

3333
substitutions:
3434
_PYTHON_VERSION: '3.8'
35-
_IMAGE_TAG: samples/dataflow/tensorflow-gpu:latest
35+
_IMAGE: samples/dataflow/tensorflow-gpu:latest

dataflow/gpu-workers/e2e_test.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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(

0 commit comments

Comments
 (0)