Skip to content

Commit

Permalink
fix: 2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
overtrue committed Nov 8, 2024
1 parent 7cfc583 commit 54758b0
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/docker-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,17 +14,20 @@ jobs:

steps:
- uses: actions/checkout@v4
- name: Build the Docker image
run: docker build . --file Dockerfile --tag overtrue/gradient-bot
- name: Log in to Docker Hub
uses: docker/login-action@v3.3.0
with:
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
- name: Set up QEMU
uses: docker/setup-qemu-action@v3
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
- name: Build and push Docker image
id: push
uses: docker/build-push-action@v6.7.0
with:
platform: linux/amd64,linux/arm64
context: .
file: ./Dockerfile
push: true
Expand Down

0 comments on commit 54758b0

Please sign in to comment.