From f395912990e32250200adc8850b1862341851fb7 Mon Sep 17 00:00:00 2001 From: Puja Deep <105225025+PujaVad@users.noreply.github.com> Date: Fri, 10 May 2024 16:14:16 +0530 Subject: [PATCH] Revert docker/build-push-action version due to known issue (#812) * Revert docker/build-push-action version due to known issue Version 5 of docker/build-push-action produces `unknown` architecture and os in manifest * Comment added to prevent future bumps of docker/build-push-action --- .github/workflows/build-test-publish.yml | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/.github/workflows/build-test-publish.yml b/.github/workflows/build-test-publish.yml index 4266c595..ac9461b9 100644 --- a/.github/workflows/build-test-publish.yml +++ b/.github/workflows/build-test-publish.yml @@ -94,7 +94,8 @@ jobs: username: ${{ secrets.DOCKERHUB_USERNAME }} password: ${{ secrets.DOCKERHUB_TOKEN }} - name: Build and push - uses: docker/build-push-action@v5 + # Do not bump below action version (Known issue - https://github.com/docker/build-push-action/issues/820) + uses: docker/build-push-action@v3 with: context: . push: true @@ -113,7 +114,8 @@ jobs: type=semver,pattern={{version}},suffix=-amd64,latest=false type=sha,suffix=-amd64,latest=false - name: Build and push single-arch amd64 image - uses: docker/build-push-action@v5 + # Do not bump below action version (Known issue - https://github.com/docker/build-push-action/issues/820) + uses: docker/build-push-action@v3 with: context: . platforms: linux/amd64 @@ -132,7 +134,8 @@ jobs: type=semver,pattern={{version}},suffix=-arm64,latest=false type=sha,suffix=-arm64,latest=false - name: Build and push single-arch arm64 image - uses: docker/build-push-action@v5 + # Do not bump below action version (Known issue - https://github.com/docker/build-push-action/issues/820) + uses: docker/build-push-action@v3 with: context: . platforms: linux/arm64