From d2801661dec22a95ee554577e1bf57a62e0831ac Mon Sep 17 00:00:00 2001 From: Robert Sturla Date: Sat, 21 Dec 2024 13:05:10 +0000 Subject: [PATCH] fix: add registry configuration --- .github/workflows/reusable-build.yml | 2 +- build_files/{container-policy.json => containers/policy.json} | 0 build_files/containers/registries.d/ghcr.yaml | 3 +++ 3 files changed, 4 insertions(+), 1 deletion(-) rename build_files/{container-policy.json => containers/policy.json} (100%) create mode 100644 build_files/containers/registries.d/ghcr.yaml diff --git a/.github/workflows/reusable-build.yml b/.github/workflows/reusable-build.yml index 360908f7578..652a911640d 100644 --- a/.github/workflows/reusable-build.yml +++ b/.github/workflows/reusable-build.yml @@ -64,7 +64,7 @@ jobs: - name: Add Container Policy run: | - sudo cp ./build_files/container-policy.json /etc/containers/policy.json + sudo cp -r ./build_files/containers /etc/containers - name: Image Name shell: bash diff --git a/build_files/container-policy.json b/build_files/containers/policy.json similarity index 100% rename from build_files/container-policy.json rename to build_files/containers/policy.json diff --git a/build_files/containers/registries.d/ghcr.yaml b/build_files/containers/registries.d/ghcr.yaml new file mode 100644 index 00000000000..b27d43c5528 --- /dev/null +++ b/build_files/containers/registries.d/ghcr.yaml @@ -0,0 +1,3 @@ +docker: + ghcr.io: + use-sigstore-attachments: true