Skip to content

Commit 54758b0

Browse files
committed
fix: 2.0
1 parent 7cfc583 commit 54758b0

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

.github/workflows/docker-image.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,17 +14,20 @@ jobs:
1414

1515
steps:
1616
- uses: actions/checkout@v4
17-
- name: Build the Docker image
18-
run: docker build . --file Dockerfile --tag overtrue/gradient-bot
1917
- name: Log in to Docker Hub
2018
uses: docker/login-action@v3.3.0
2119
with:
2220
username: ${{ secrets.DOCKER_USERNAME }}
2321
password: ${{ secrets.DOCKER_PASSWORD }}
22+
- name: Set up QEMU
23+
uses: docker/setup-qemu-action@v3
24+
- name: Set up Docker Buildx
25+
uses: docker/setup-buildx-action@v2
2426
- name: Build and push Docker image
2527
id: push
2628
uses: docker/build-push-action@v6.7.0
2729
with:
30+
platform: linux/amd64,linux/arm64
2831
context: .
2932
file: ./Dockerfile
3033
push: true

0 commit comments

Comments
 (0)