Skip to content
This repository was archived by the owner on Nov 24, 2025. It is now read-only.

Commit e75b5cb

Browse files
committed
remove qemu action, use gh free worker on amd64 to reduce cost
1 parent 9dd1fa0 commit e75b5cb

1 file changed

Lines changed: 3 additions & 11 deletions

File tree

.github/workflows/docker4commit.yml

Lines changed: 3 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ env:
1919

2020
jobs:
2121
build-amd64-docker:
22-
runs-on: buildjet-4vcpu-ubuntu-2204
22+
runs-on: ubuntu-22.04
2323
env:
2424
platform-name: "linux/amd64"
2525
platform-tag: "x86_64"
@@ -30,14 +30,10 @@ jobs:
3030
submodules: true
3131
- name: Prepare destination folder
3232
run: mkdir -p /tmp/build/out
33-
- name: Set up QEMU
34-
uses: docker/setup-qemu-action@v3
35-
with:
36-
platforms: ${{ env.platform-name }}
3733
- name: Set up Docker Buildx
3834
uses: docker/setup-buildx-action@v3
3935
- name: Cache Docker layers
40-
uses: buildjet/cache@v3
36+
uses: actions/cache@v4
4137
with:
4238
path: /tmp/.buildx-cache
4339
key: ${{ runner.os }}-buildx-${{ github.sha }}
@@ -102,10 +98,6 @@ jobs:
10298
submodules: true
10399
- name: Prepare destination folder
104100
run: mkdir -p /tmp/build/out
105-
- name: Set up QEMU
106-
uses: docker/setup-qemu-action@v3
107-
with:
108-
platforms: ${{ env.platform-name }}
109101
- name: Set up Docker Buildx
110102
uses: docker/setup-buildx-action@v3
111103
- name: Cache Docker layers
@@ -167,7 +159,7 @@ jobs:
167159
- build-amd64-docker
168160
- build-arm64-docker
169161
if: ${{ startsWith(github.ref, 'refs/tags/v') }}
170-
runs-on: buildjet-4vcpu-ubuntu-2204
162+
runs-on: ubuntu-22.04
171163
steps:
172164
# note: change the repository_owner to specific one if post to other repos
173165
- name: Prepare for release

0 commit comments

Comments
 (0)