Skip to content

Commit

Permalink
Upgrade binfmt and GHA actions (openhab#396)
Browse files Browse the repository at this point in the history
Signed-off-by: Wouter Born <[email protected]>
  • Loading branch information
wborn authored Jul 2, 2022
1 parent aec0502 commit 1aefc8f
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build-images.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,10 @@ jobs:
name: ${{ matrix.tag }}-${{ matrix.distribution }}
steps:
- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v3

- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v1
uses: docker/setup-buildx-action@v2

- name: Build images
run: ./build ${{ matrix.tag }} ${{ matrix.distribution }}
2 changes: 1 addition & 1 deletion .github/workflows/validate-readme.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
name: validate
steps:
- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v3

- name: Validate README.md
run: bash -c 'source helper-functions && validate_readme_constraints'
2 changes: 1 addition & 1 deletion helper-functions
Original file line number Diff line number Diff line change
Expand Up @@ -203,7 +203,7 @@ update_dockerhub_readme() {

prepare_builder() {
if [ "$BUILDER" == "" ]; then
docker run --privileged --rm tonistiigi/binfmt:qemu-v6.1.0 --install all &> /dev/null
docker run --privileged --rm tonistiigi/binfmt:qemu-v6.2.0 --install all &> /dev/null
(docker buildx inspect builder &> /dev/null && echo -e "\nReusing existing builder") || \
(docker buildx create --name builder --use &> /dev/null && echo -e "\nCreated builder")
BUILDER="builder"
Expand Down

0 comments on commit 1aefc8f

Please sign in to comment.