mirror of
https://github.com/bokysan/docker-postfix.git
synced 2025-09-03 13:04:35 +08:00
Fix: call update-binfmts
ony if it exists.
This commit is contained in:
parent
0b2e8ee5a1
commit
b957465e02
3 changed files with 3 additions and 3 deletions
2
.github/workflows/master.yml
vendored
2
.github/workflows/master.yml
vendored
|
@ -81,7 +81,7 @@ jobs:
|
|||
|
||||
- name: Fix issue with building Alpine # See https://gitlab.alpinelinux.org/alpine/aports/-/issues/12406
|
||||
run: |
|
||||
update-binfmts --enable
|
||||
if command -v update-binfmts; then update-binfmts --enable; fi
|
||||
|
||||
- name: Build and push Alpine
|
||||
uses: docker/build-push-action@v6
|
||||
|
|
2
.github/workflows/pull_request.yml
vendored
2
.github/workflows/pull_request.yml
vendored
|
@ -62,7 +62,7 @@ jobs:
|
|||
|
||||
- name: Fix issue with building Alpine # See https://gitlab.alpinelinux.org/alpine/aports/-/issues/12406
|
||||
run: |
|
||||
update-binfmts --enable
|
||||
if command -v update-binfmts; then update-binfmts --enable; fi
|
||||
|
||||
- name: Build Alpine
|
||||
uses: docker/build-push-action@v6
|
||||
|
|
2
.github/workflows/tags.yml
vendored
2
.github/workflows/tags.yml
vendored
|
@ -86,7 +86,7 @@ jobs:
|
|||
|
||||
- name: Fix issue with building Alpine # See https://gitlab.alpinelinux.org/alpine/aports/-/issues/12406
|
||||
run: |
|
||||
update-binfmts --enable
|
||||
if command -v update-binfmts; then update-binfmts --enable; fi
|
||||
|
||||
- name: Build and push Alpine
|
||||
uses: docker/build-push-action@v6
|
||||
|
|
Loading…
Add table
Reference in a new issue