Skip to content

Commit 48bba4d

Browse files
committed
update buildx config
1 parent 8237dcc commit 48bba4d

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

.github/workflows/docker_build.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,10 @@ jobs:
5050
- name: Set up Docker Buildx
5151
uses: docker/setup-buildx-action@4fd812986e6c8c2a69e18311145f9371337f27d4 # v3.4.0
5252
with:
53-
buildkitd-flags: --debug
53+
buildkitd-flags: "--debug --allow-insecure-entitlement security.insecure --allow-insecure-entitlement network.host"
54+
platforms: "linux/amd64"
55+
driver-opts: memory=14Gib,memory-swap=25Gib,env.BUILDKIT_STEP_LOG_MAX_SIZE=50000000,env.BUILDKIT_STEP_LOG_MAX_SPEED=10000000
56+
5457
- name: Build image
5558
uses: docker/build-push-action@1a162644f9a7e87d8f4b053101d1d9a712edc18c # v6.3.0
5659
with:
@@ -60,7 +63,4 @@ jobs:
6063
file: docker/ubuntu.dockerfile
6164
tags: mtl:latest
6265
cache-from: type=gha,scope=mtl
63-
cache-to: type=gha,mode=max,scope=mtl
64-
build-args: |
65-
HTTP_PROXY=$http_proxy
66-
HTTPS_PROXY=$https_proxy
66+
cache-to: type=gha,mode=max,scope=mtl

0 commit comments

Comments
 (0)