Compare commits

...

3 commits

Author SHA1 Message Date
38685b8e2d Feat. Allowing the owner of the action to specify the nix version
Signed-off-by: Eoghan Conlon <eoghanconlon73@skynet.ie>
2024-10-01 09:59:23 +01:00
cc3eeb312d Renaming action to match what it is doing.
Signed-off-by: Eoghan Conlon <eoghanconlon73@skynet.ie>
2024-10-01 09:56:22 +01:00
cd0882455f Doc. Specifying the tag for the docker nix action
Signed-off-by: Eoghan Conlon <eoghanconlon73@skynet.ie>
2024-10-01 09:55:05 +01:00
2 changed files with 6 additions and 4 deletions

View file

@ -107,11 +107,13 @@ jobs:
## Docker Nix
This action is used to get nix into the docker user deploy system.
### vx
### v7
```yaml
jobs:
build:
runs-on: docker
steps:
uses: https://forgejo.skynet.ie/Skynet/actions/docker_nix@vx
uses: https://forgejo.skynet.ie/Skynet/actions/docker_nix@v7
with:
nix_version: nixos-unstable
```

View file

@ -3,7 +3,7 @@ description: 'Update apt repositories and installing sudo'
runs:
using: 'composite'
steps:
- name: 'Get image ready to run nix jobs'
- name: 'Installing nix on Docker runner'
shell: bash
run: |
apt update
@ -11,7 +11,7 @@ runs:
apt install sudo
- uses: https://github.com/cachix/install-nix-action@v29
with:
nix_path: nixpkgs=channel:nixos-unstable
nix_path: nixpkgs=channel:${{ inputs.nix_version }}
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=
substituters = https://nix-cache.skynet.ie/skynet-cache https://hydra.iohk.io https://cache.nixos.org/