Skip to content

Commit

Permalink
CI: switch to docker buildx and enable arm64 docker images
Browse files Browse the repository at this point in the history
  • Loading branch information
Manawyrm committed Mar 14, 2023
1 parent 336de8b commit e444f5b
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions .github/workflows/build-docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,5 +14,13 @@ jobs:

steps:
- uses: actions/checkout@v2
- name: Build the Docker image
run: docker build . --file Dockerfile --tag rofl256/whiteboard:$(date +%s)

- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2

- name: build the image
run: |
docker buildx build \
--file Dockerfile \
--tag rofl256/whiteboard:$(date +%s) \
--platform linux/amd64,linux/arm64 .

0 comments on commit e444f5b

Please sign in to comment.