Skip to content

Commit

Permalink
Revert docker/build-push-action version due to known issue (#1631)
Browse files Browse the repository at this point in the history
* 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
  • Loading branch information
PujaVad authored May 10, 2024
1 parent 29abb63 commit 71dddea
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions .github/workflows/build-test-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,8 @@ jobs:
username: ${{ secrets.QUAY_USERNAME }}
password: ${{ secrets.QUAY_ROBOT_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: .
platforms: linux/amd64, linux/arm64, linux/ppc64le, linux/s390x
Expand All @@ -144,7 +145,8 @@ jobs:
- name: Build and push single-arch amd64 image
if: github.event_name != 'pull_request'
#if: startsWith(github.ref, 'refs/tags/v')
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
Expand All @@ -169,7 +171,8 @@ jobs:
- name: Build and push single-arch arm64 image
if: github.event_name != 'pull_request'
#if: startsWith(github.ref, 'refs/tags/v')
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
Expand Down

0 comments on commit 71dddea

Please sign in to comment.