This commit is contained in:
parent
4d4f4e67e0
commit
a42446985c
2 changed files with 6 additions and 1 deletions
|
@ -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: |
|
||||
|
|
|
@ -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"]
|
Loading…
Add table
Add a link
Reference in a new issue