Skip to content

Commit c464075

Browse files
authored
[release only] Docker build - Setup release specific variables (#109809)
1 parent 1b4161c commit c464075

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

.github/workflows/docker-release.yml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -82,12 +82,10 @@ jobs:
8282
echo "${RUNNER_TEMP}/bin" >> "${GITHUB_PATH}"
8383
# Generate PyTorch version to use
8484
echo "PYTORCH_VERSION=$(python3 .github/scripts/generate_pytorch_version.py)" >> "${GITHUB_ENV}"
85-
- name: Setup nightly specific variables
86-
if: ${{ github.event.ref == 'refs/heads/nightly' || startsWith(github.event.ref, 'refs/tags/ciflow/nightly/') }}
85+
- name: Setup release specific variables
8786
run: |
8887
{
89-
echo "DOCKER_IMAGE=pytorch-nightly";
90-
echo "INSTALL_CHANNEL=pytorch-nightly";
88+
echo "INSTALL_CHANNEL=pytorch-test";
9189
echo "TRITON_VERSION=$(cut -f 1 .ci/docker/triton_version.txt)+$(cut -c -10 .ci/docker/ci_commit_pins/triton.txt)";
9290
} >> "${GITHUB_ENV}"
9391
- name: Run docker build / push

0 commit comments

Comments
 (0)