1
0
mirror of https://github.com/squidfunk/mkdocs-material.git synced 2025-01-30 11:27:26 +01:00

Added support for arm64 Docker builds

This commit is contained in:
squidfunk 2021-06-06 15:28:53 +02:00
parent 3d6cbc9d29
commit e7efdade80

View File

@ -63,6 +63,12 @@ jobs:
- name: Checkout repository - name: Checkout repository
uses: actions/checkout@v2 uses: actions/checkout@v2
- name: Set up QEMU
uses: docker/setup-qemu-action@v1
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v1
- name: Login to DockerHub - name: Login to DockerHub
uses: docker/login-action@v1 uses: docker/login-action@v1
with: with:
@ -80,6 +86,7 @@ jobs:
uses: docker/build-push-action@v2 uses: docker/build-push-action@v2
with: with:
context: . context: .
platforms: linux/amd64,linux/arm64
tags: | tags: |
${{ github.event.repository.full_name }}:latest ${{ github.event.repository.full_name }}:latest
${{ github.event.repository.full_name }}:${{ github.event.release.tag_name }} ${{ github.event.repository.full_name }}:${{ github.event.release.tag_name }}