From 3f23a1cd1a3ad356f2f2e9cc6116ec722b491a99 Mon Sep 17 00:00:00 2001 From: Daniel Wagner Date: Wed, 29 Nov 2023 12:44:02 +0100 Subject: [PATCH] build: disable provenance attestations When removing untagged images it damages the docker manifest. The workaround is to disable the attestations. Link: https://github.com/snok/container-retention-policy/issues/63 Signed-off-by: Daniel Wagner --- .github/workflows/next.yml | 3 +++ .github/workflows/release.yml | 3 +++ 2 files changed, 6 insertions(+) diff --git a/.github/workflows/next.yml b/.github/workflows/next.yml index c8485b1..5341441 100644 --- a/.github/workflows/next.yml +++ b/.github/workflows/next.yml @@ -33,6 +33,7 @@ jobs: file: staging/Dockerfile.${{ matrix.type }}.staging platforms: linux/amd64 push: true + provenance: false tags: | ghcr.io/igaw/linux-nvme/${{ matrix.type }}.staging:next @@ -87,6 +88,7 @@ jobs: file: Dockerfile.${{ matrix.type }} platforms: linux/amd64 push: true + provenance: false tags: | ghcr.io/igaw/linux-nvme/${{ matrix.type }}:next @@ -118,5 +120,6 @@ jobs: file: Dockerfile.ubuntu.${{ matrix.arch }} platforms: linux/amd64 push: true + provenance: false tags: | ghcr.io/igaw/linux-nvme/ubuntu-cross-${{ matrix.arch }}:next diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index f2a6c62..354d628 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -33,6 +33,7 @@ jobs: file: staging/Dockerfile.${{ matrix.type }}.staging platforms: linux/amd64 push: true + provenance: false tags: | ghcr.io/igaw/linux-nvme/${{ matrix.type }}.staging:main @@ -89,6 +90,7 @@ jobs: file: Dockerfile.${{ matrix.type }} platforms: linux/amd64 push: true + provenance: false tags: | ghcr.io/igaw/linux-nvme/${{ matrix.type }}:${{ env.RELEASE_VERSION }} ghcr.io/igaw/linux-nvme/${{ matrix.type }}:latest @@ -123,6 +125,7 @@ jobs: file: Dockerfile.ubuntu.${{ matrix.arch }} platforms: linux/amd64 push: true + provenance: false tags: | ghcr.io/igaw/linux-nvme/ubuntu-cross-${{ matrix.arch }}:${{ env.RELEASE_VERSION }} ghcr.io/igaw/linux-nvme/ubuntu-cross-${{ matrix.arch }}:latest