Skip to content

Commit

Permalink
Revert docker/build-push-action version due to known issue (#812)
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 committed May 10, 2024
1 parent 44fdb41 commit f395912
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 @@ -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
Expand All @@ -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
Expand All @@ -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
Expand Down

0 comments on commit f395912

Please sign in to comment.