This repository was archived by the owner on Jul 14, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 4 files changed +4
-6
lines changed Expand file tree Collapse file tree 4 files changed +4
-6
lines changed Original file line number Diff line number Diff line change 51
51
name : containerd-wasm-shims-v1-${{ env.RUNNER_OS }}-${{ matrix.config.arch }}
52
52
path : _dist/containerd-wasm-shims-v1-${{ env.RUNNER_OS }}-${{ matrix.config.arch }}.tar.gz
53
53
retention-days : 5
54
- - name : build k3d demo
55
- run : make build-image
56
- working-directory : ./deployments/k3d
Original file line number Diff line number Diff line change 45
45
_dist/slight_workload.yaml#example-slight-workloads
46
46
47
47
for f in ./_artifacts/*/*.tar.gz; do gh release upload ${{ env.RELEASE_VERSION }} $f; done
48
-
48
+
49
49
# Setup buildx to build multiarch image: https://github.com/docker/build-push-action/blob/master/docs/advanced/multi-platform.md
50
50
- name : Set up QEMU
51
51
uses : docker/setup-qemu-action@v2
97
97
ghcr.io/deislabs/containerd-wasm-shims/examples/k3d:${{ env.RELEASE_VERSION }}
98
98
ghcr.io/deislabs/containerd-wasm-shims/examples/k3d:latest
99
99
context : deployments/k3d
100
+ platforms : linux/amd64,linux/arm64
100
101
- name : clear
101
102
if : always()
102
103
run : |
Original file line number Diff line number Diff line change 1
- FROM rancher/k3s:v1.24.4 -k3s1-amd64
1
+ FROM rancher/k3s:v1.24.6 -k3s1
2
2
3
3
# copy shims from target directory into the /bin
4
4
COPY ./.tmp /bin/
Original file line number Diff line number Diff line change @@ -15,7 +15,7 @@ move-musl-to-tmp: compile-musl-spin compile-musl-slight
15
15
cp ../../containerd-shim-spin-v1/target/$(TARGET ) /release/containerd-shim-* -v1 ./.tmp/
16
16
17
17
build-image : move-musl-to-tmp
18
- docker build -t $(IMAGE_NAME ) .
18
+ docker buildx build -t $(IMAGE_NAME ) --platform linux/amd64,linux/arm64 .
19
19
20
20
up : build-image
21
21
k3d cluster create $(CLUSTER_NAME ) --image $(IMAGE_NAME ) --api-port 6550 -p " 8081:80@loadbalancer" --agents 1
You can’t perform that action at this time.
0 commit comments