Spaces:
Running
Running
support arm64
Browse filesSigned-off-by: Li Chaoran <pkwarcraft@gmail.com>
.github/workflows/docker-build-push.yml
CHANGED
@@ -9,6 +9,14 @@ jobs:
|
|
9 |
steps:
|
10 |
- name: Checkout code
|
11 |
uses: actions/checkout@v2
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
12 |
- name: Login to Docker Hub
|
13 |
uses: docker/login-action@v1
|
14 |
with:
|
@@ -19,5 +27,6 @@ jobs:
|
|
19 |
with:
|
20 |
context: .
|
21 |
file: Dockerfile
|
|
|
22 |
push: true
|
23 |
tags: ${{ secrets.DOCKER_USERNAME }}/freegpt-webui:latest
|
|
|
9 |
steps:
|
10 |
- name: Checkout code
|
11 |
uses: actions/checkout@v2
|
12 |
+
-
|
13 |
+
# Add support for more platforms with QEMU (optional)
|
14 |
+
# https://github.com/docker/setup-qemu-action
|
15 |
+
name: Set up QEMU
|
16 |
+
uses: docker/setup-qemu-action@v2
|
17 |
+
-
|
18 |
+
name: Set up Docker Buildx
|
19 |
+
uses: docker/setup-buildx-action@v2
|
20 |
- name: Login to Docker Hub
|
21 |
uses: docker/login-action@v1
|
22 |
with:
|
|
|
27 |
with:
|
28 |
context: .
|
29 |
file: Dockerfile
|
30 |
+
platforms: linux/amd64,linux/arm64
|
31 |
push: true
|
32 |
tags: ${{ secrets.DOCKER_USERNAME }}/freegpt-webui:latest
|