From 9d46b097cd64b24e7881ec8e4f0ec75359acf7ef Mon Sep 17 00:00:00 2001 From: Matthew Penner Date: Tue, 15 Dec 2020 09:11:08 -0700 Subject: [PATCH] Attempt to fix build failures --- .github/workflows/docker-publish.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/docker-publish.yml b/.github/workflows/docker-publish.yml index ae1bb05..6d8150f 100644 --- a/.github/workflows/docker-publish.yml +++ b/.github/workflows/docker-publish.yml @@ -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