Skip to content

Commit 92ebf89

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

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed

.github/workflows/test.yaml

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
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+
jq '.features += {"containerd-snapshotter": true}' /etc/docker/daemon.json > /tmp/daemon.json
14+
mv /tmp/daemon.json /etc/docker.json
15+
systemctl restart docker
16+
- run: ./bin/make build-oci OCI_PLATFORM=linux/amd64,linux/arm64
17+
- run: docker images
18+
- run: docker inspect foxygoat/flapjak

0 commit comments

Comments
 (0)