File tree Expand file tree Collapse file tree 1 file changed +0
-32
lines changed
Expand file tree Collapse file tree 1 file changed +0
-32
lines changed Original file line number Diff line number Diff line change 3737 pull : true # always fetch the latest base images
3838 platforms : linux/amd64,linux/arm64 # build for both amd64 and arm64
3939 tags : ghcr.io/abetlen/llama-cpp-python:latest
40-
41- docker-cuda :
42- name : Build and push Docker CUDA image
43- runs-on : ubuntu-latest
44- steps :
45- - name : Checkout
46- uses : actions/checkout@v3
47- with :
48- submodules : " true"
49-
50- - name : Set up QEMU
51- uses : docker/setup-qemu-action@v2
52-
53- - name : Set up Docker Buildx
54- uses : docker/setup-buildx-action@v2
55-
56- - name : Login to GitHub Container Registry
57- uses : docker/login-action@v2
58- with :
59- registry : ghcr.io
60- username : ${{ github.repository_owner }}
61- password : ${{ secrets.GITHUB_TOKEN }}
62-
63- - name : Build and push
64- uses : docker/build-push-action@v4
65- with :
66- file : Dockerfile.cuda
67- context : .
68- push : true # push to registry
69- pull : true # always fetch the latest base images
70- platforms : linux/amd64,linux/arm64 # build for both amd64 and arm64
71- tags : ghcr.io/abetlen/llama-cpp-python-cuda:latest
You can’t perform that action at this time.
0 commit comments