refactor: only use qemu when building for arm
This commit is contained in:
4
.github/actions/build-image/action.yml
vendored
4
.github/actions/build-image/action.yml
vendored
@@ -18,9 +18,6 @@ runs:
|
|||||||
name: build
|
name: build
|
||||||
path: build
|
path: build
|
||||||
|
|
||||||
- name: set up qemu
|
|
||||||
uses: docker/setup-qemu-action@v2
|
|
||||||
|
|
||||||
- name: set up docker buildx
|
- name: set up docker buildx
|
||||||
id: buildx
|
id: buildx
|
||||||
uses: docker/setup-buildx-action@v2
|
uses: docker/setup-buildx-action@v2
|
||||||
@@ -29,7 +26,6 @@ runs:
|
|||||||
shell: bash
|
shell: bash
|
||||||
run: |
|
run: |
|
||||||
docker buildx build \
|
docker buildx build \
|
||||||
--platform ${{ inputs.architecturet }} \
|
|
||||||
--progress plain \
|
--progress plain \
|
||||||
--tag "dokku/dokku:latest" \
|
--tag "dokku/dokku:latest" \
|
||||||
.
|
.
|
||||||
|
|||||||
3
.github/workflows/ci.yml
vendored
3
.github/workflows/ci.yml
vendored
@@ -103,6 +103,9 @@ jobs:
|
|||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
|
|
||||||
|
- name: set up qemu
|
||||||
|
uses: docker/setup-qemu-action@v2
|
||||||
|
|
||||||
- name: build-image
|
- name: build-image
|
||||||
uses: ./.github/actions/build-image
|
uses: ./.github/actions/build-image
|
||||||
with:
|
with:
|
||||||
|
|||||||
Reference in New Issue
Block a user