22 lines
786 B
Nix
22 lines
786 B
Nix
{
|
|
description = "Base Forgejo Actions Image builder";
|
|
inputs = {
|
|
nixpkgs.url = "github:nixos/nixpkgs?ref=nixos-unstable";
|
|
nix.url = "github:nixos/nix";
|
|
};
|
|
outputs = { nixpkgs, nix, self }:
|
|
let pkgs = import nixpkgs { system = "x86_64-linux"; }; in {
|
|
packages.x86_64-linux.default = import (nix + "/docker.nix") {
|
|
inherit pkgs;
|
|
extraPkgs = [ pkgs.nodejs ];
|
|
|
|
Labels = {
|
|
"org.opencontainers.image.title" = "Nix";
|
|
"org.opencontainers.image.source" = "https://git.tami.moe/tamipes/";
|
|
"org.opencontainers.image.vendor" = "Tamipes";
|
|
"org.opencontainers.image.version" = pkgs.nix.version;
|
|
"org.opencontainers.image.description" = "Nix container image with nodejs";
|
|
};
|
|
};
|
|
};
|
|
}
|