Skip to content

Commit 462197a

Browse files
committed
latest
1 parent de8a077 commit 462197a

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

.github/workflows/docker-build.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ jobs:
4747
- { python_version: "3.11", pytorch_version: "2.2", cuda_version: "12.1.0" }
4848
- { python_version: "3.11", pytorch_version: "2.3", cuda_version: "12.1.0" }
4949
- { python_version: "3.11", pytorch_version: "2.4", cuda_version: "12.1.0" }
50-
- { python_version: "3.12", pytorch_version: "2.5", cuda_version: "12.1.0", tag: "--add_latest" }
50+
- { python_version: "3.12", pytorch_version: "2.5", cuda_version: "12.1.0", latest: "true" }
5151
steps:
5252
- uses: actions/checkout@v4
5353
with:
@@ -70,7 +70,8 @@ jobs:
7070
--release_version="${{ env.RELEASE_VERSION }}" \
7171
--python_version="${{ matrix.python_version }}" \
7272
--torch_version="${{ matrix.pytorch_version }}" \
73-
--cuda_version="${{ matrix.cuda_version }}" ${{ matrix.tag }} )
73+
--cuda_version="${{ matrix.cuda_version }}" \
74+
--add_latest="${{ matrix.latest || 'false' }}")
7475
echo "DOCKER_TAGS=$tags" >> $GITHUB_ENV
7576
7677
- uses: docker/build-push-action@v6

0 commit comments

Comments
 (0)