Skip to content

Commit

Permalink
[release only] Docker build for release - trigger manually from pytor…
Browse files Browse the repository at this point in the history
…ch channel
  • Loading branch information
atalman committed Oct 4, 2023
1 parent e4c42a9 commit 5a93603
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/docker-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ jobs:
timeout-minutes: 240
strategy:
matrix:
include:
include:y
# nvidia specific images don't exist for arm64 so only build the runtime image
- image_type: runtime
platform: linux/arm64,linux/amd64
Expand Down Expand Up @@ -92,7 +92,11 @@ jobs:
# To get QEMU binaries in our PATH
echo "${RUNNER_TEMP}/bin" >> "${GITHUB_PATH}"
# Generate PyTorch version to use
echo "PYTORCH_VERSION=$(python3 .github/scripts/generate_pytorch_version.py)" >> "${GITHUB_ENV}"
if [[ ${CHANNEL} == "release" ]]; then
echo "PYTORCH_VERSION=2.1.0"
else
echo "PYTORCH_VERSION=$(python3 .github/scripts/generate_pytorch_version.py)" >> "${GITHUB_ENV}"
fi
- name: Setup release specific variables
run: |
{
Expand Down

0 comments on commit 5a93603

Please sign in to comment.