add multi-platform container image builds to latest image build process, part of #81

This commit is contained in:
meeb 2021-05-27 19:49:41 +10:00
parent 54b7de4442
commit ad1c4ecbc9
1 changed files with 1 additions and 1 deletions

View File

@ -37,7 +37,7 @@ jobs:
steps:
- uses: actions/checkout@v2
- name: Build the container image
run: docker build . --tag $IMAGE_NAME
run: docker buildx build --platform linux/arm/v7,linux/arm64/v8,linux/amd64 --tag $IMAGE_NAME .
- name: Log into GitHub Container Registry
run: echo "${{ secrets.REGISTRY_ACCESS_TOKEN }}" | docker login https://ghcr.io -u ${{ github.actor }} --password-stdin
- name: Push image to GitHub Container Registry