Use containerd image store
authorPablo Zmdl <redacted>
Wed, 11 Jun 2025 13:16:59 +0000 (15:16 +0200)
committerPablo Zmdl <redacted>
Wed, 11 Jun 2025 13:16:59 +0000 (15:16 +0200)
This is (apparently) required to use the "gha" cache type

.github/workflows/build-and-publish-nightly.yml
.github/workflows/build.yml
.github/workflows/test.yml

index 31ef4e00b630582ad13650bc3a2a910c499897a5..63c59a1cbc801d94dd222d12b6f08744f0932313 100644 (file)
@@ -15,6 +15,17 @@ jobs:
     steps:
       - name: Checkout repository
         uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
+      - name: Set up Docker
+        # This step is required to enable the containerd image store, which is required by the cache type=gha
+        uses: docker/setup-docker-action@b60f85385d03ac8acfca6d9996982511d8620a19 # v4.3.0
+        with:
+          daemon-config: |
+           {
+             "debug": true,
+             "features": {
+               "containerd-snapshotter": true
+             }
+           }
       - name: Set up QEMU
         uses: docker/setup-qemu-action@29109295f81e9208d7d86ff1c6c12d2833863392 # v3.6.0
       - name: Set up Docker Buildx
index 6b67190f5e4d13cbd47aca060e91c12cba43d2c0..c685ad88b150b7aab3cc9209e22338669b19a13d 100644 (file)
@@ -77,6 +77,17 @@ jobs:
     steps:
       - name: Checkout repository
         uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
+      - name: Set up Docker
+        # This step is required to enable the containerd image store, which is required by the cache type=gha
+        uses: docker/setup-docker-action@b60f85385d03ac8acfca6d9996982511d8620a19 # v4.3.0
+        with:
+          daemon-config: |
+           {
+             "debug": true,
+             "features": {
+               "containerd-snapshotter": true
+             }
+           }
       - name: Set up QEMU
         uses: docker/setup-qemu-action@29109295f81e9208d7d86ff1c6c12d2833863392 # v3.6.0
       - name: Set up Docker Buildx
index d7c2c0fb5ec36e7b26b31aac9a6f7dfc2c69cbd8..14a01e1627f0d3385b3986a4ae2b242240570692 100644 (file)
@@ -38,6 +38,17 @@ jobs:
     steps:
       - name: Checkout repository
         uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
+      - name: Set up Docker
+        # This step is required to enable the containerd image store, which is required by the cache type=gha
+        uses: docker/setup-docker-action@b60f85385d03ac8acfca6d9996982511d8620a19 # v4.3.0
+        with:
+          daemon-config: |
+           {
+             "debug": true,
+             "features": {
+               "containerd-snapshotter": true
+             }
+           }
 
       - name: Build rootful image for "${{ matrix.variant }}"
         uses: docker/build-push-action@471d1dc4e07e5cdedd4c2171150001c434f0b7a4 # v6.15.0
git clone https://git.99rst.org/PROJECT