This commit is contained in:
parent
08c6649a69
commit
7726ff0df6
2 changed files with 2 additions and 2 deletions
|
@ -12,7 +12,7 @@ steps:
|
|||
- echo "experimental-features = nix-command flakes" >> /etc/nix/nix.conf
|
||||
- mkdir /etc/containers
|
||||
- |
|
||||
echo '{"default": [{"type":"insecureAcceptEverything"}]}' > /etc/containers/policy.json
|
||||
echo '{"default": [{"type":"insecureAcceptAnything"}]}' > /etc/containers/policy.json
|
||||
- nix-env -iA nixpkgs.skopeo
|
||||
- $(nix build '.#buildImage') | gzip --fast | skopeo copy --dest-creds=gitea-bot:$GITEA_KEY docker-archive:/dev/stdin docker://git.chir.rs/darkkirb/nix-containers:buildImage --dest-compress-format zstd --dest-compress-level 12
|
||||
environment:
|
||||
|
|
|
@ -30,7 +30,7 @@
|
|||
echo "trusted-public-keys = cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY= nixcache:8KKuGz95Pk4UJ5W/Ni+pN+v+LDTkMMFV4yrGmAYgkDg= hydra.nixos.org-1:CNHJZBh9K4tP3EKF6FkkgeVYsS3ohTl+oS0Qa8bezVs=" >> /etc/nix/nix.conf
|
||||
echo "experimental-features = nix-command flakes" >> /etc/nix/nix.conf
|
||||
mkdir /etc/containers
|
||||
echo '{"default": [{"type":"insecureAcceptEverything"}]}' > /etc/containers/policy.json
|
||||
echo '{"default": [{"type":"insecureAcceptAnything"}]}' > /etc/containers/policy.json
|
||||
'';
|
||||
};
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue