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:
|
on:
|
||||||
workflow_dispatch:
|
workflow_dispatch:
|
||||||
workflow_call:
|
workflow_call:
|
||||||
|
push:
|
||||||
|
branches:
|
||||||
|
- main
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
buildAndPush:
|
buildAndPush:
|
||||||
|
|
|
||||||
|
|
@ -7,7 +7,8 @@
|
||||||
outputs = { nixpkgs, nix, self }:
|
outputs = { nixpkgs, nix, self }:
|
||||||
let pkgs = import nixpkgs { system = "x86_64-linux"; }; in {
|
let pkgs = import nixpkgs { system = "x86_64-linux"; }; in {
|
||||||
packages.x86_64-linux = rec {
|
packages.x86_64-linux = rec {
|
||||||
default = nix;
|
default = nix-with-tools;
|
||||||
|
|
||||||
minimal-nix = import (nix + "/docker.nix") {
|
minimal-nix = import (nix + "/docker.nix") {
|
||||||
inherit pkgs;
|
inherit pkgs;
|
||||||
extraPkgs = [ pkgs.nodejs ];
|
extraPkgs = [ pkgs.nodejs ];
|
||||||
|
|
@ -20,7 +21,7 @@
|
||||||
"org.opencontainers.image.description" = "Nix container image with nodejs";
|
"org.opencontainers.image.description" = "Nix container image with nodejs";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
nix = import (nix + "/docker.nix") {
|
nix-with-tools = import (nix + "/docker.nix") {
|
||||||
inherit pkgs;
|
inherit pkgs;
|
||||||
extraPkgs = [ pkgs.nodejs pkgs.skopeo ];
|
extraPkgs = [ pkgs.nodejs pkgs.skopeo ];
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue