Skip to content

Commit

Permalink
add developer images
Browse files Browse the repository at this point in the history
  • Loading branch information
jandrej committed Dec 12, 2023
1 parent b671a3f commit 88da63b
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions .github/workflows/build-and-push-images.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,12 @@ jobs:
- name: push cpu-tpls image
run: docker push ${{ env.REGISTRY }}/${{ env.IMAGE_NAME_PREFIX }}/cpu-tpls:latest

- name: build developer-cpu image
run: docker-compose build --build-arg base_image=cpu-tpls developer-cpu

- name: push developer-cpu image
run: docker push ${{ env.REGISTRY }}/${{ env.IMAGE_NAME_PREFIX }}/developer-cpu:latest

- name: build cuda-sm70 image
run: |
docker-compose build --build-arg cuda_arch_sm=70 cuda
Expand All @@ -55,3 +61,18 @@ jobs:
- name: push cuda-sm70 image
run: docker push ${{ env.REGISTRY }}/${{ env.IMAGE_NAME_PREFIX }}/cuda-sm70:latest

- name: build cuda-tpls-sm70 image
run: |
docker-compose build --build-arg cuda_arch_sm=70 cuda-tpls
docker image tag ${{ env.REGISTRY }}/${{ env.IMAGE_NAME_PREFIX }}/cuda-tpls:latest \
${{ env.REGISTRY }}/${{ env.IMAGE_NAME_PREFIX }}/cuda-tpls-sm70:latest
- name: push cuda-tpls-sm70 image
run: docker push ${{ env.REGISTRY }}/${{ env.IMAGE_NAME_PREFIX }}/cuda-tpls-sm70:latest

- name: build developer-cuda-sm70 image
run: docker-compose build --build-arg base_image=cuda-tpls-sm70 developer-cuda-sm70

- name: push developer-cuda-sm70 image
run: docker push ${{ env.REGISTRY }}/${{ env.IMAGE_NAME_PREFIX }}/developer-cuda-sm70:latest

0 comments on commit 88da63b

Please sign in to comment.