From fb3cba83fc7a2ed20d7f49d6457c7fb807d67415 Mon Sep 17 00:00:00 2001 From: jiaxiao zhou Date: Mon, 5 Feb 2024 19:31:38 +0000 Subject: [PATCH] ci: enable containerd image store for docker Signed-off-by: jiaxiao zhou --- .github/workflows/docker-build-push.yaml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/workflows/docker-build-push.yaml b/.github/workflows/docker-build-push.yaml index 6024bc5..a65d2dc 100644 --- a/.github/workflows/docker-build-push.yaml +++ b/.github/workflows/docker-build-push.yaml @@ -52,6 +52,11 @@ jobs: registry: ghcr.io username: ${{ github.actor }} password: ${{ secrets.GITHUB_TOKEN }} + - name: enable containerd image store + run: | + echo '{ "features": { "containerd-snapshotter": true } }' | sudo tee /etc/docker/daemon.json + sudo systemctl restart docker + docker info -f '{{ .DriverStatus }}' - name: test uses: docker/build-push-action@v4 if: ${{ inputs.test }}