Adding action to add nix capabilities to docker runner #2
Loading…
Reference in a new issue
No description provided.
Delete branch "eoghanconlon73/actions:main"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
The action works, tested: https://forgejo.skynet.ie/eoghanconlon73/website_test/actions/runs/15
Can be tested with: https://forgejo.skynet.ie/eoghanconlon73/actions/docker_nix@eoghan_testV2
Just after realising, I never signed off on any of the commits, sorry about that
@ -107,0 +113,4 @@
build:
runs-on: docker
steps:
uses: https://forgejo.skynet.ie/Skynet/actions/docker_nix@vx
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
@ -0,0 +3,4 @@
runs:
using: 'composite'
steps:
- name: 'Get image ready to run nix jobs'
It is more that
sudo
is required for the installer to run.@ -0,0 +11,4 @@
apt install sudo
- uses: https://github.com/cachix/install-nix-action@v29
with:
nix_path: nixpkgs=channel:nixos-unstable
What if someone wants to specify what version of nix to use?
The inputs fot teh install-nix-action can be found here: https://github.com/cachix/install-nix-action?tab=readme-ov-file#inputs-specify-using-with
(I honestly dont think anyone would really use this, more food to think for the future (we can revisit if someone needs it))
perfect, I'll have a look into this there in a few minutes
This didn't work as I expected, it still installs nix so may be alright to be fixed in a later version of the action, though can revert back to unstable if that's preferred
That isnt an issue at all, not like ive trained anyone to set that up or to use it.
@eoghanconlon73 ye good with this now?
View command line instructions
Checkout
From your project repository, check out a new branch and test the changes.Merge
Merge the changes and update on Forgejo.Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.