Compare commits
2 commits
93b71cbbc5
...
f69de09f52
| Author | SHA1 | Date | |
|---|---|---|---|
| f69de09f52 | |||
| 93c533b13e |
2 changed files with 6 additions and 2 deletions
3
.github/workflows/build.yml
vendored
3
.github/workflows/build.yml
vendored
|
|
@ -2,6 +2,9 @@ name: Build and Push docker image
|
|||
on:
|
||||
workflow_dispatch:
|
||||
workflow_call:
|
||||
push:
|
||||
branches:
|
||||
- main
|
||||
|
||||
jobs:
|
||||
buildAndPush:
|
||||
|
|
|
|||
|
|
@ -7,7 +7,8 @@
|
|||
outputs = { nixpkgs, nix, self }:
|
||||
let pkgs = import nixpkgs { system = "x86_64-linux"; }; in {
|
||||
packages.x86_64-linux = rec {
|
||||
default = nix;
|
||||
default = nix-with-tools;
|
||||
|
||||
minimal-nix = import (nix + "/docker.nix") {
|
||||
inherit pkgs;
|
||||
extraPkgs = [ pkgs.nodejs ];
|
||||
|
|
@ -20,7 +21,7 @@
|
|||
"org.opencontainers.image.description" = "Nix container image with nodejs";
|
||||
};
|
||||
};
|
||||
nix = import (nix + "/docker.nix") {
|
||||
nix-with-tools = import (nix + "/docker.nix") {
|
||||
inherit pkgs;
|
||||
extraPkgs = [ pkgs.nodejs pkgs.skopeo ];
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue