Skip to content

Commit 6bd68a5

Browse files
Merge pull request #3653 from AI-Hypercomputer:docker_latest
PiperOrigin-RevId: 899144115
2 parents b1ac95e + 42ebf92 commit 6bd68a5

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

.github/workflows/build_and_push_docker_image.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -142,6 +142,9 @@ jobs:
142142
# Add MaxText tag
143143
maxtext_hash=$(git rev-parse --short HEAD)
144144
gcloud container images add-tag "$SOURCE_IMAGE:${{ github.run_id }}" "$SOURCE_IMAGE:maxtext_${maxtext_hash}_${clean_date}" --quiet
145+
146+
# Add latest tag (TODO: add this tag only after tests pass)
147+
gcloud container images add-tag "$SOURCE_IMAGE:${{ github.run_id }}" "$SOURCE_IMAGE:latest" --quiet
145148
fi
146149
env:
147150
INPUTS_IMAGE_NAME: ${{ inputs.image_name }}

0 commit comments

Comments
 (0)