Skip to content

Commit

Permalink
cmd
Browse files Browse the repository at this point in the history
  • Loading branch information
Borda committed Dec 19, 2024
1 parent d07a3f7 commit 969f993
Showing 1 changed file with 6 additions and 7 deletions.
13 changes: 6 additions & 7 deletions .github/workflows/docker-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ jobs:
- { python_version: "3.11", pytorch_version: "2.2", cuda_version: "12.1.0" }
- { python_version: "3.11", pytorch_version: "2.3", cuda_version: "12.1.0" }
- { python_version: "3.11", pytorch_version: "2.4", cuda_version: "12.1.0" }
- { python_version: "3.12", pytorch_version: "2.5", cuda_version: "12.1.0", latest: true }
- { python_version: "3.12", pytorch_version: "2.5", cuda_version: "12.1.0", tag: "--add_latest" }
steps:
- uses: actions/checkout@v4
with:
Expand All @@ -66,12 +66,11 @@ jobs:
- name: Set tags
run: |
pip install -q -r .actions/requirements.txt
tags = $(python .actions/assistant.py generate_docker_tags \
--release-version="${{ env.RELEASE_VERSION }}" \
--python-version="${{ matrix.python_version }}" \
--torch-version="${{ matrix.pytorch_version }}" \
--cuda-version="${{ matrix.cuda_version }}" \
--add_latest="${{ matrix.latest }}")
tags = $(python .actions/assistant.py generate-docker-tags \
--release_version="${{ env.RELEASE_VERSION }}" \
--python_version="${{ matrix.python_version }}" \
--torch_version="${{ matrix.pytorch_version }}" \
--cuda_version="${{ matrix.cuda_version }}" ${{ matrix.tag }} )
echo "DOCKER_TAGS=$tags" >> $GITHUB_ENV
- uses: docker/build-push-action@v6
Expand Down

0 comments on commit 969f993

Please sign in to comment.