We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7cfc583 commit 54758b0Copy full SHA for 54758b0
.github/workflows/docker-image.yml
@@ -14,17 +14,20 @@ jobs:
14
15
steps:
16
- uses: actions/checkout@v4
17
- - name: Build the Docker image
18
- run: docker build . --file Dockerfile --tag overtrue/gradient-bot
19
- name: Log in to Docker Hub
20
uses: docker/login-action@v3.3.0
21
with:
22
username: ${{ secrets.DOCKER_USERNAME }}
23
password: ${{ secrets.DOCKER_PASSWORD }}
+ - name: Set up QEMU
+ uses: docker/setup-qemu-action@v3
24
+ - name: Set up Docker Buildx
25
+ uses: docker/setup-buildx-action@v2
26
- name: Build and push Docker image
27
id: push
28
uses: docker/build-push-action@v6.7.0
29
30
+ platform: linux/amd64,linux/arm64
31
context: .
32
file: ./Dockerfile
33
push: true
0 commit comments