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
|
||||
path: build
|
||||
|
||||
- name: set up qemu
|
||||
uses: docker/setup-qemu-action@v2
|
||||
|
||||
- name: set up docker buildx
|
||||
id: buildx
|
||||
uses: docker/setup-buildx-action@v2
|
||||
@@ -29,7 +26,6 @@ runs:
|
||||
shell: bash
|
||||
run: |
|
||||
docker buildx build \
|
||||
--platform ${{ inputs.architecturet }} \
|
||||
--progress plain \
|
||||
--tag "dokku/dokku:latest" \
|
||||
.
|
||||
|
||||
3
.github/workflows/ci.yml
vendored
3
.github/workflows/ci.yml
vendored
@@ -103,6 +103,9 @@ jobs:
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
|
||||
- name: set up qemu
|
||||
uses: docker/setup-qemu-action@v2
|
||||
|
||||
- name: build-image
|
||||
uses: ./.github/actions/build-image
|
||||
with:
|
||||
|
||||
Reference in New Issue
Block a user