From 48d6111dce9f22fe90dbd04e18061c2f716422a0 Mon Sep 17 00:00:00 2001 From: iofq Date: Sun, 11 Jan 2026 23:06:17 -0600 Subject: [PATCH] init --- .forgejo/workflows/main.yaml | 2 +- default-policy.json | 14 ++++++++++++++ 2 files changed, 15 insertions(+), 1 deletion(-) create mode 100644 default-policy.json diff --git a/.forgejo/workflows/main.yaml b/.forgejo/workflows/main.yaml index f403cb5..2bca4a7 100644 --- a/.forgejo/workflows/main.yaml +++ b/.forgejo/workflows/main.yaml @@ -5,8 +5,8 @@ jobs: steps: - run: echo "experimental-features = nix-command flakes" >> /etc/nix/nix.conf - run: nix-env -i nodejs # bootstrap - - run: curl -sLo /etc/containers/policy.json https://github.com/containers/skopeo/blob/879dbc3757610a574f9fcc44ea23ef9e8e2b6fe3/default-policy.json - uses: actions/checkout@v4 + - run: mkdir -p /etc/containers && cp default-policy.json /etc/containers/policy.json - run: |- nix develop --command bash -c ' for line in $(cat tags.txt); do diff --git a/default-policy.json b/default-policy.json new file mode 100644 index 0000000..dffc54a --- /dev/null +++ b/default-policy.json @@ -0,0 +1,14 @@ +{ + "default": [ + { + "type": "insecureAcceptAnything" + } + ], + "transports": + { + "docker-daemon": + { + "": [{"type":"insecureAcceptAnything"}] + } + } +}