File tree Expand file tree Collapse file tree 1 file changed +0
-29
lines changed Expand file tree Collapse file tree 1 file changed +0
-29
lines changed Original file line number Diff line number Diff line change 29
29
uses : pypa/gh-action-pypi-publish@release/v1
30
30
with :
31
31
password : ${{ secrets.PYPI_API_TOKEN }}
32
-
33
- docker :
34
- name : Build and push Docker image
35
- runs-on : ubuntu-latest
36
- needs : build-n-publish
37
- steps :
38
- - name : Checkout
39
- uses : actions/checkout@v3
40
-
41
- - name : Set up QEMU
42
- uses : docker/setup-qemu-action@v2
43
-
44
- - name : Set up Docker Buildx
45
- uses : docker/setup-buildx-action@v2
46
-
47
- - name : Login to GitHub Container Registry
48
- uses : docker/login-action@v2
49
- with :
50
- registry : ghcr.io
51
- username : ${{ github.repository_owner }}
52
- password : ${{ secrets.GITHUB_TOKEN }}
53
-
54
- - name : Build and push
55
- uses : docker/build-push-action@v4
56
- with :
57
- push : true # push to registry
58
- pull : true # always fetch the latest base images
59
- platforms : linux/amd64,linux/arm64 # build for both amd64 and arm64
60
- tags : ghcr.io/abetlen/llama-cpp-python:latest
You can’t perform that action at this time.
0 commit comments