CI: switch to docker buildx and enable arm64 docker images
This commit is contained in:
parent
336de8b3ef
commit
e444f5bb5c
12
.github/workflows/build-docker.yml
vendored
12
.github/workflows/build-docker.yml
vendored
@ -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 .
|
||||
|
Loading…
x
Reference in New Issue
Block a user