ci: Add test workflow for enabling containerd snapshotter #3
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: test docker containerd snapshotter setup | |
| on: | |
| push: | |
| branches: | |
| - test/* | |
| jobs: | |
| test: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - run: | | |
| id -a | |
| { cat /etc/docker/daemon.json 2>/dev/null || echo '{}'; } | \ | |
| jq '.features += {"containerd-snapshotter": true}' > /tmp/daemon.json | |
| mv /tmp/daemon.json /etc/docker/daemon.json | |
| systemctl restart docker | |
| - run: ./bin/make build-oci OCI_PLATFORM=linux/amd64,linux/arm64 | |
| - run: docker images | |
| - run: docker inspect foxygoat/flapjak |