Compare commits
3 commits
863956c38b
...
fa0a4917a2
Author | SHA1 | Date | |
---|---|---|---|
|
fa0a4917a2 | ||
|
0d6fb5aab6 | ||
|
e048ada01f |
3 changed files with 5 additions and 4 deletions
|
@ -7,7 +7,7 @@ on:
|
|||
- main
|
||||
|
||||
env:
|
||||
registry: git.amarth.cloud
|
||||
registry: ${{ forge.server_url }}
|
||||
owner: chris
|
||||
image: default
|
||||
tag: latest
|
||||
|
@ -32,7 +32,7 @@ jobs:
|
|||
run: podman --version
|
||||
|
||||
- name: Log into registry
|
||||
run: podman login ${{ env.registry }}
|
||||
run: podman login --username "${{ forge.actor }}" --password "${{ forge.token }}" ${{ env.registry }}
|
||||
|
||||
- name: Build image
|
||||
run: >-
|
||||
|
|
|
@ -15,10 +15,10 @@ in
|
|||
nix = {
|
||||
package = pkgs.nixVersions.latest;
|
||||
|
||||
extraOptions = "experimental-features = nix-command flakes pipe-operator";
|
||||
extraOptions = "experimental-features = nix-command flakes pipe-operators";
|
||||
|
||||
settings = {
|
||||
experimental-features = [ "nix-command" "flakes" "pipe-operator" ];
|
||||
experimental-features = [ "nix-command" "flakes" "pipe-operators" ];
|
||||
allowed-users = [ "@wheel" ];
|
||||
trusted-users = [ "@wheel" ];
|
||||
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
FROM nixos/nix:latest
|
||||
|
||||
RUN nix-env -iA nixpkgs.nodejs_24
|
||||
RUN echo "experimental-features = nix-command flakes pipe-operators" >> /etc/nix/nix.conf
|
||||
|
||||
CMD ["/bin/bash"]
|
Loading…
Add table
Add a link
Reference in a new issue