File tree Expand file tree Collapse file tree 2 files changed +31
-1
lines changed Expand file tree Collapse file tree 2 files changed +31
-1
lines changed Original file line number Diff line number Diff line change @@ -230,3 +230,33 @@ jobs:
230230 if : always()
231231 run : |
232232 vagrant ssh -- "sudo cat /vagrant/.tmp/logs/containerd"
233+
234+ sandbox-build :
235+ runs-on : ubuntu-24.04
236+ strategy :
237+ fail-fast : false
238+ matrix :
239+ platform :
240+ - linux/amd64
241+ - linux/arm64
242+ steps :
243+ -
244+ name : Checkout
245+ uses : actions/checkout@v4
246+ -
247+ name : Set up QEMU
248+ uses : docker/setup-qemu-action@v3
249+ -
250+ name : Set up Docker Buildx
251+ uses : docker/setup-buildx-action@v3
252+ with :
253+ version : ${{ env.SETUP_BUILDX_VERSION }}
254+ driver-opts : image=${{ env.SETUP_BUILDKIT_IMAGE }}
255+ buildkitd-flags : --debug
256+ -
257+ name : Build
258+ uses : docker/bake-action@v5
259+ with :
260+ targets : integration-tests-base
261+ set : |
262+ *.platform=${{ matrix.platform }}
Original file line number Diff line number Diff line change @@ -203,7 +203,7 @@ VOLUME /var/lib/buildkit
203203FROM gobuild-base AS containerd-build
204204WORKDIR /go/src/github.com/containerd/containerd
205205ARG TARGETPLATFORM
206- ENV CGO_ENABLED=1 BUILDTAGS=no_btrfs GO111MODULE=off
206+ ENV CGO_ENABLED=1 CGO_LDFLAGS= "-fuse-ld=lld" BUILDTAGS=no_btrfs GO111MODULE=off
207207RUN xx-apk add musl-dev gcc && xx-go --wrap
208208COPY --chmod=755 <<-EOT /build.sh
209209# !/bin/sh
You can’t perform that action at this time.
0 commit comments