-
Notifications
You must be signed in to change notification settings - Fork 3
54 lines (48 loc) · 1.63 KB
/
deploy-docker-manylinux2014_x86_64_cuda_12.3.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
name: deploy-docker-manylinux2014_x86_64_cuda_12.3
on:
push:
branches:
- main
release:
types:
- published
jobs:
build-manylinux_x86_64_cuda_12_3:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Login to Docker Hub
uses: docker/login-action@v2
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: Build and push manylinux2014_x86_64_cuda-12.3
id: docker_build
uses: docker/build-push-action@v3
with:
push: true
file: ./docker/manylinux2014_x86_64_cuda_12.3/Dockerfile
tags: sameli/manylinux2014_x86_64_cuda_12.3:latest
- name: Image digest
run: echo ${{ steps.docker_build.outputs.digest }}
# test-cuda-12.3:
# runs-on: ubuntu-latest
# steps:
# - name: Install Snap
# run: |
# sudo apt update
# sudo apt install snapd
#
# - name: Install Docker
# run: |
# sudo snap install docker
# sudo groupadd -f docker
# sudo usermod -aG docker $USER
# newgrp docker
#
# - name: Pull Docker Image
# run: docker pull sameli/manylinux2014_x86_64_cuda_12.3
#
# - name: Run Docker Image
# run: docker run -t sameli/manylinux2014_x86_64_cuda_12.3 nvcc --version