forked from Skynet/actions
Compare commits
No commits in common. "38685b8e2d258dbf039838a5ff984675d1b52a69" and "340c26373452c0a2e98da0c01a31503cb5d46471" have entirely different histories.
38685b8e2d
...
340c263734
2 changed files with 4 additions and 6 deletions
|
@ -107,13 +107,11 @@ jobs:
|
||||||
|
|
||||||
## Docker Nix
|
## Docker Nix
|
||||||
This action is used to get nix into the docker user deploy system.
|
This action is used to get nix into the docker user deploy system.
|
||||||
### v7
|
### vx
|
||||||
```yaml
|
```yaml
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
runs-on: docker
|
runs-on: docker
|
||||||
steps:
|
steps:
|
||||||
uses: https://forgejo.skynet.ie/Skynet/actions/docker_nix@v7
|
uses: https://forgejo.skynet.ie/Skynet/actions/docker_nix@vx
|
||||||
with:
|
|
||||||
nix_version: nixos-unstable
|
|
||||||
```
|
```
|
||||||
|
|
|
@ -3,7 +3,7 @@ description: 'Update apt repositories and installing sudo'
|
||||||
runs:
|
runs:
|
||||||
using: 'composite'
|
using: 'composite'
|
||||||
steps:
|
steps:
|
||||||
- name: 'Installing nix on Docker runner'
|
- name: 'Get image ready to run nix jobs'
|
||||||
shell: bash
|
shell: bash
|
||||||
run: |
|
run: |
|
||||||
apt update
|
apt update
|
||||||
|
@ -11,7 +11,7 @@ runs:
|
||||||
apt install sudo
|
apt install sudo
|
||||||
- uses: https://github.com/cachix/install-nix-action@v29
|
- uses: https://github.com/cachix/install-nix-action@v29
|
||||||
with:
|
with:
|
||||||
nix_path: nixpkgs=channel:${{ inputs.nix_version }}
|
nix_path: nixpkgs=channel:nixos-unstable
|
||||||
extra_nix_config: |
|
extra_nix_config: |
|
||||||
trusted-public-keys = skynet-cache:zMFLzcRZPhUpjXUy8SF8Cf7KGAZwo98SKrzeXvdWABo= hydra.iohk.io:f/Ea+s+dFdN+3Y/G+FDgSq+a5NEWhJGzdjvKNGv0/EQ= cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
|
trusted-public-keys = skynet-cache:zMFLzcRZPhUpjXUy8SF8Cf7KGAZwo98SKrzeXvdWABo= hydra.iohk.io:f/Ea+s+dFdN+3Y/G+FDgSq+a5NEWhJGzdjvKNGv0/EQ= cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
|
||||||
substituters = https://nix-cache.skynet.ie/skynet-cache https://hydra.iohk.io https://cache.nixos.org/
|
substituters = https://nix-cache.skynet.ie/skynet-cache https://hydra.iohk.io https://cache.nixos.org/
|
||||||
|
|
Loading…
Reference in a new issue