another attempt
Some checks failed
Test action / Print hello world (push) Failing after 7s

This commit is contained in:
Chris Kruining 2025-09-04 12:02:40 +02:00
parent 4d4f4e67e0
commit a42446985c
No known key found for this signature in database
GPG key ID: EB894A3560CCCAD2
2 changed files with 6 additions and 1 deletions

View file

@ -24,6 +24,7 @@ jobs:
- name: Install docker
run: |
nix-env -iA nixpkgs.podman
echo '{ "defult": [ {"type":"insecureAcceptAnything"} ] }' > /etc/containers/policy.json
- name: Log into registry
run: |
@ -35,6 +36,8 @@ jobs:
-t ${{ env.registry }}/${{ env.owner }}/${{ env.image }}:${{ env.tag }}
-f Dockerfile.default
modules/nixos/services/development/forgejo
env:
DOCKER_BUILDKIT: 1
- name: Push image
run: |

View file

@ -1,6 +1,8 @@
FROM docker.io/nixos/nix:latest
RUN nix-env -iA nixpkgs.nodejs_24
RUN nix-env -iA nixpkgs.nodejs_24 nixpkgs.podman
RUN echo "experimental-features = nix-command flakes pipe-operators" >> /etc/nix/nix.conf
RUN echo '{ "defult": [ {"type":"insecureAcceptAnything"} ] }' >> /etc/containers/policy.json
CMD ["/bin/bash"]