Attempt to fix build failures

This commit is contained in:
Matthew Penner 2020-12-15 09:11:08 -07:00
parent e18e56918f
commit 9d46b097cd

View file

@ -47,13 +47,13 @@ jobs:
- name: Build Image
env:
IMAGE_ID: docker.pkg.github.com/${{ github.repository }}/${{ matrix.image }}
IMAGE_ID: docker.pkg.github.com/${{ github.repository }}/${{ matrix.image }}:latest
run: |
docker buildx build ./${{ matrix.image }} --tag docker.pkg.github.com/${{ github.repository }}/${{ matrix.image }} --platform linux/amd64,linux/arm64
docker buildx build --tag docker.pkg.github.com/${{ github.repository }}/${{ matrix.image }} --platform linux/amd64,linux/arm64 ./${{ matrix.image }}
- name: Push Image
env:
IMAGE_ID: docker.pkg.github.com/${{ github.repository }}/${{ matrix.image }}
IMAGE_ID: docker.pkg.github.com/${{ github.repository }}/${{ matrix.image }}:latest
run: |
docker tag $IMAGE_ID $IMAGE_ID:$VERSION
docker push $IMAGE_ID:$VERSION
docker tag $IMAGE_ID $IMAGE_ID
docker push $IMAGE_ID