From c5a4fe9c17bc20eb46b15fda554d17030bb6a5b9 Mon Sep 17 00:00:00 2001 From: "Wang, Chuanqi" Date: Wed, 18 Jun 2025 08:16:52 +0000 Subject: [PATCH] [CI] fix the ci image name for public copy in ghcr (#156169) After the PR #152209 landed, the name of ci image public copy in ghcr is not correct. For example, https://github.com/pytorch/pytorch/actions/runs/15698468716/job/44228133522#step:10:8. Pull Request resolved: https://github.com/pytorch/pytorch/pull/156169 Approved by: https://github.com/malfet --- .github/workflows/_linux-build.yml | 2 +- .github/workflows/_linux-test.yml | 2 +- .github/workflows/_xpu-test.yml | 2 +- .github/workflows/target-determination-indexer.yml | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/_linux-build.yml b/.github/workflows/_linux-build.yml index 9aec550fa12..b214b524c74 100644 --- a/.github/workflows/_linux-build.yml +++ b/.github/workflows/_linux-build.yml @@ -190,7 +190,7 @@ jobs: ECR_DOCKER_IMAGE: ${{ steps.calculate-docker-image.outputs.docker-image }} shell: bash run: | - tag=${ECR_DOCKER_IMAGE##*/} + tag=${ECR_DOCKER_IMAGE##*:} echo "docker pull ghcr.io/pytorch/ci-image:${tag/:/-}" - name: Pull docker image diff --git a/.github/workflows/_linux-test.yml b/.github/workflows/_linux-test.yml index 19d019ca007..38aa891f66c 100644 --- a/.github/workflows/_linux-test.yml +++ b/.github/workflows/_linux-test.yml @@ -131,7 +131,7 @@ jobs: ECR_DOCKER_IMAGE: ${{ steps.calculate-docker-image.outputs.docker-image }} shell: bash run: | - tag=${ECR_DOCKER_IMAGE##*/} + tag=${ECR_DOCKER_IMAGE##*:} echo "docker pull ghcr.io/pytorch/ci-image:${tag/:/-}" - name: Pull docker image diff --git a/.github/workflows/_xpu-test.yml b/.github/workflows/_xpu-test.yml index 0caa7f25613..7f78280aada 100644 --- a/.github/workflows/_xpu-test.yml +++ b/.github/workflows/_xpu-test.yml @@ -105,7 +105,7 @@ jobs: ECR_DOCKER_IMAGE: ${{ steps.calculate-docker-image.outputs.docker-image }} shell: bash run: | - tag=${ECR_DOCKER_IMAGE##*/} + tag=${ECR_DOCKER_IMAGE##*:} echo "docker pull ghcr.io/pytorch/ci-image:${tag/:/-}" - name: Pull docker image diff --git a/.github/workflows/target-determination-indexer.yml b/.github/workflows/target-determination-indexer.yml index 269a7db4dfa..ec579fda8da 100644 --- a/.github/workflows/target-determination-indexer.yml +++ b/.github/workflows/target-determination-indexer.yml @@ -46,7 +46,7 @@ jobs: ECR_DOCKER_IMAGE: ${{ steps.calculate-docker-image.outputs.docker-image }} shell: bash run: | - tag=${ECR_DOCKER_IMAGE##*/} + tag=${ECR_DOCKER_IMAGE##*:} echo "docker pull ghcr.io/pytorch/ci-image:${tag/:/-}" - name: Pull docker image