diff --git a/.forgejo/workflows/main.yaml b/.forgejo/workflows/main.yaml index 4125985..f403cb5 100644 --- a/.forgejo/workflows/main.yaml +++ b/.forgejo/workflows/main.yaml @@ -5,10 +5,10 @@ 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: |- nix develop --command bash -c ' - curl -sLo /etc/containers/policy.json https://github.com/containers/skopeo/blob/879dbc3757610a574f9fcc44ea23ef9e8e2b6fe3/default-policy.json for line in $(cat tags.txt); do IFS=: read -r pkg tag <<< $line skopeo copy --dest-creds="${{ secrets.FJ_USER }}:${{ secrets.FJ_PASS }}" docker-image://$(nix build .#$pkg --print-out-paths) docker://git.10110110.xyz/ci/$tag:latest diff --git a/result b/result deleted file mode 120000 index 3023c55..0000000 --- a/result +++ /dev/null @@ -1 +0,0 @@ -/nix/store/r7ai8pbishhz8k6ca1qbg2kvia7vqcl3-nix-with-node.tar.gz \ No newline at end of file