Skip to content

Commit e0516c0

Browse files
committed
ci: Add test workflow for enabling containerd snapshotter
1 parent be0cae6 commit e0516c0

File tree

1 file changed

+21
-0
lines changed

1 file changed

+21
-0
lines changed

.github/workflows/test.yaml

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
name: test docker containerd snapshotter setup
2+
3+
on:
4+
push:
5+
branches:
6+
- test/*
7+
8+
jobs:
9+
test:
10+
runs-on: ubuntu-latest
11+
steps:
12+
- run: |
13+
id -a
14+
{ cat /etc/docker/daemon.json 2>/dev/null || echo '{}'; } | \
15+
jq '.features += {"containerd-snapshotter": true}' > /tmp/daemon.json
16+
sudo mv /tmp/daemon.json /etc/docker/daemon.json
17+
sudo systemctl restart docker
18+
- uses: actions/checkout@v5
19+
- run: ./bin/make build-oci OCI_PLATFORM=linux/amd64,linux/arm64
20+
- run: docker images
21+
- run: docker inspect foxygoat/flapjak

0 commit comments

Comments
 (0)