Attempt to fix build failures

This commit is contained in:
Matthew Penner 2020-12-15 09:08:37 -07:00
parent d006c31dee
commit e18e56918f

View file

@ -49,15 +49,11 @@ jobs:
env: env:
IMAGE_ID: docker.pkg.github.com/${{ github.repository }}/${{ matrix.image }} IMAGE_ID: docker.pkg.github.com/${{ github.repository }}/${{ matrix.image }}
run: | run: |
IMAGE_ID=$(echo $IMAGE_ID | tr '[A-Z]' '[a-z]')
docker buildx build ./${{ matrix.image }} --tag docker.pkg.github.com/${{ github.repository }}/${{ matrix.image }} --platform linux/amd64,linux/arm64 docker buildx build ./${{ matrix.image }} --tag docker.pkg.github.com/${{ github.repository }}/${{ matrix.image }} --platform linux/amd64,linux/arm64
- name: Push Image - name: Push Image
env: env:
IMAGE_ID: docker.pkg.github.com/${{ github.repository }}/${{ matrix.image }} IMAGE_ID: docker.pkg.github.com/${{ github.repository }}/${{ matrix.image }}
run: | run: |
IMAGE_ID=$(echo $IMAGE_ID | tr '[A-Z]' '[a-z]')
docker tag $IMAGE_ID $IMAGE_ID:$VERSION docker tag $IMAGE_ID $IMAGE_ID:$VERSION
docker push $IMAGE_ID:$VERSION docker push $IMAGE_ID:$VERSION