From 88d2c03dd0d3a5d967c6704ffa1d7e6b41e6e21b 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 | 4 ++-- default-policy.json | 14 ++++++++++++++ 2 files changed, 16 insertions(+), 2 deletions(-) create mode 100644 default-policy.json diff --git a/.forgejo/workflows/main.yaml b/.forgejo/workflows/main.yaml index f403cb5..90c0233 100644 --- a/.forgejo/workflows/main.yaml +++ b/.forgejo/workflows/main.yaml @@ -4,9 +4,9 @@ jobs: runs-on: nix-upstream-latest 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 + - run: nix-env -i nodejs curl # bootstrap - uses: actions/checkout@v4 + - run: 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"}] + } + } +}