[docker release] Fix push nightly tag (#158984)

This is a typo.
I see that this step is not executing in nightly builds:
https://github.com/pytorch/pytorch/actions/runs/16464544564/job/46538759844

Pull Request resolved: https://github.com/pytorch/pytorch/pull/158984
Approved by: https://github.com/oulgen
This commit is contained in:
atalman 2025-07-23 23:39:49 +00:00 committed by PyTorch MergeBot
parent 60ac3414eb
commit ebb032a202

View File

@ -144,7 +144,7 @@ jobs:
run: | run: |
make -f docker.Makefile "${BUILD_IMAGE_TYPE}-image" make -f docker.Makefile "${BUILD_IMAGE_TYPE}-image"
- name: Push nightly tags - name: Push nightly tags
if: ${{ github.event.ref == 'refs/heads/nightly' && matrix.image_type == 'runtime' && matrix.build_platforms == 'linux/amd4' }} if: ${{ github.event.ref == 'refs/heads/nightly' && matrix.image_type == 'runtime' && matrix.platform == 'linux/amd4' }}
run: | run: |
PYTORCH_DOCKER_TAG="${PYTORCH_VERSION}-cuda${CUDA_VERSION_SHORT}-cudnn${CUDNN_VERSION}-runtime" PYTORCH_DOCKER_TAG="${PYTORCH_VERSION}-cuda${CUDA_VERSION_SHORT}-cudnn${CUDNN_VERSION}-runtime"
CUDA_SUFFIX="-cu${CUDA_VERSION}" CUDA_SUFFIX="-cu${CUDA_VERSION}"