Skip to content

Commit

Permalink
try to setup multi platform build
Browse files Browse the repository at this point in the history
now with buildx
  • Loading branch information
EspressoAddicted authored Mar 3, 2024
1 parent a2c029d commit ba9ef26
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions .github/workflows/docker-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,11 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- name: Checkout
uses: actions/checkout@v4
- name: Set up QEMU
uses: docker/setup-qemu-action@v3
- name: Set up Docker Buildx
- uses: docker/setup-buildx-action@v3
- name: Build the Docker image
run: docker build . --file Dockerfile --platform linux/amd64 --platform linux/arm64 --tag pb-ip-monitor:$(date +%s)
run: docker buildx build . --file Dockerfile --platform linux/amd64 --platform linux/arm64 --tag pb-ip-monitor:$(date +%s)

0 comments on commit ba9ef26

Please sign in to comment.