Skip to content

Commit

Permalink
ci: add arm64 docker build
Browse files Browse the repository at this point in the history
  • Loading branch information
erguotou520 committed Feb 15, 2024
1 parent 038365d commit 8f54457
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/build-server.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,11 +27,14 @@ jobs:
uses: docker/metadata-action@v5
with:
images: erguotou/fake-sms
tags: |
type=raw,value=latest,enable={{is_default_branch}}
- name: Build and push Docker image
uses: docker/build-push-action@v5
with:
context: .
platforms: linux/amd64,linux/arm64
file: ./Dockerfile
push: true
tags: ${{ steps.meta.outputs.tags }}
Expand Down

0 comments on commit 8f54457

Please sign in to comment.