Skip to content

Commit 1e07524

Browse files
[UX]: Replace conda with uv in dstack's default Docker image #2625
1 parent 90701ff commit 1e07524

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/docker.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,7 @@ jobs:
4646
strategy:
4747
matrix:
4848
python: ["3.9", "3.10", "3.11", "3.12", "3.13"]
49+
flavor: ["base", "devel"]
4950
steps:
5051
- name: Checkout repository
5152
uses: actions/checkout@v4
@@ -60,8 +61,7 @@ jobs:
6061
uses: docker/setup-qemu-action@v3
6162
- name: Build and upload to DockerHub
6263
run: |
63-
docker buildx build --platform linux/amd64 --build-arg FLAVOR=base --build-arg PYTHON=${{ matrix.python }} --push --provenance=false --tag dstackai/base:py${{ matrix.python }}-${{ inputs.image_version }}-cuda-12.1 -f base/Dockerfile .
64-
docker buildx build --platform linux/amd64 --build-arg FLAVOR=devel --build-arg PYTHON=${{ matrix.python }} --build-arg VERSION=${{ inputs.image_version }} --push --provenance=false --tag dstackai/base:py${{ matrix.python }}-${{ inputs.image_version }}-cuda-12.1-devel -f base/devel.Dockerfile .
64+
docker buildx build --platform linux/amd64 --build-arg FLAVOR=${{ matrix.flavor }} --build-arg PYTHON=${{ matrix.python }} --push --provenance=false --tag dstackai/base:py${{ matrix.python }}-${{ inputs.image_version }}-cuda-12.1${{ matrix.flavor == 'devel' && '-devel' || '' }} -f base/Dockerfile .
6565
6666
build-aws-images:
6767
needs: build-docker

0 commit comments

Comments
 (0)