Adding action to add nix capabilities to docker runner #2
2 changed files with 1 additions and 9 deletions
|
@ -106,8 +106,7 @@ jobs:
|
|||
```
|
||||
|
||||
## Docker Nix
|
||||
This action is used to get nix into the docker user deploy system. For this to work, replace the curly brackets with your
|
||||
desired Nix version.
|
||||
This action is used to get nix into the docker user deploy system.
|
||||
### v7
|
||||
```yaml
|
||||
jobs:
|
||||
|
@ -115,6 +114,4 @@ jobs:
|
|||
runs-on: docker
|
||||
steps:
|
||||
uses: https://forgejo.skynet.ie/Skynet/actions/docker_nix@v7
|
||||
|
||||
with:
|
||||
nix_version: {insert_nix_version_here}
|
||||
```
|
||||
|
|
|
@ -1,10 +1,5 @@
|
|||
name: 'Get image ready to run nix jobs'
|
||||
description: 'Update apt repositories and installing sudo'
|
||||
inputs:
|
||||
nix_path:
|
||||
description: 'Nix channel to be followed'
|
||||
required: false
|
||||
default: 'nixpkgs=channel:nixos-unstable'
|
||||
runs:
|
||||
using: 'composite'
|
||||
steps:
|
||||
|
|
Loading…
Reference in a new issue
Id say just set it to be
v7
, since that is what I will be tagging it withPerfect, was more leaving it as generic as I wanted to have one change at the end for the version