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
|
- main
|
||||||
|
|
||||||
env:
|
env:
|
||||||
registry: git.amarth.cloud
|
registry: ${{ forge.server_url }}
|
||||||
owner: chris
|
owner: chris
|
||||||
image: default
|
image: default
|
||||||
tag: latest
|
tag: latest
|
||||||
|
@ -32,7 +32,7 @@ jobs:
|
||||||
run: podman --version
|
run: podman --version
|
||||||
|
|
||||||
- name: Log into registry
|
- name: Log into registry
|
||||||
run: podman login ${{ env.registry }}
|
run: podman login --username "${{ forge.actor }}" --password "${{ forge.token }}" ${{ env.registry }}
|
||||||
|
|
||||||
- name: Build image
|
- name: Build image
|
||||||
run: >-
|
run: >-
|
||||||
|
|
|
@ -15,10 +15,10 @@ in
|
||||||
nix = {
|
nix = {
|
||||||
package = pkgs.nixVersions.latest;
|
package = pkgs.nixVersions.latest;
|
||||||
|
|
||||||
extraOptions = "experimental-features = nix-command flakes pipe-operator";
|
extraOptions = "experimental-features = nix-command flakes pipe-operators";
|
||||||
|
|
||||||
settings = {
|
settings = {
|
||||||
experimental-features = [ "nix-command" "flakes" "pipe-operator" ];
|
experimental-features = [ "nix-command" "flakes" "pipe-operators" ];
|
||||||
allowed-users = [ "@wheel" ];
|
allowed-users = [ "@wheel" ];
|
||||||
trusted-users = [ "@wheel" ];
|
trusted-users = [ "@wheel" ];
|
||||||
|
|
||||||
|
|
|
@ -1,5 +1,6 @@
|
||||||
FROM nixos/nix:latest
|
FROM nixos/nix:latest
|
||||||
|
|
||||||
RUN nix-env -iA nixpkgs.nodejs_24
|
RUN nix-env -iA nixpkgs.nodejs_24
|
||||||
|
RUN echo "experimental-features = nix-command flakes pipe-operators" >> /etc/nix/nix.conf
|
||||||
|
|
||||||
CMD ["/bin/bash"]
|
CMD ["/bin/bash"]
|
Loading…
Add table
Add a link
Reference in a new issue