This commit is contained in:
parent
2e11b8cda2
commit
bc1183e2ce
2 changed files with 4 additions and 9 deletions
|
@ -10,12 +10,7 @@ pipeline:
|
||||||
- nix flake check
|
- nix flake check
|
||||||
- nix build '.#mdbook-toc'
|
- nix build '.#mdbook-toc'
|
||||||
- nix build '.#docker'
|
- nix build '.#docker'
|
||||||
# - mv result result.tar.gz
|
- cp result.tar.gz image.tar.gz
|
||||||
# - cp result.tar.gz result
|
|
||||||
debug:
|
|
||||||
image: nixos/nix
|
|
||||||
commands:
|
|
||||||
- ls -la
|
|
||||||
publish:
|
publish:
|
||||||
image: git.0x76.dev/v/push-container:0.2.0
|
image: git.0x76.dev/v/push-container:0.2.0
|
||||||
settings:
|
settings:
|
||||||
|
@ -23,5 +18,5 @@ pipeline:
|
||||||
password:
|
password:
|
||||||
from_secret: registry_password
|
from_secret: registry_password
|
||||||
repo: git.0x76.dev
|
repo: git.0x76.dev
|
||||||
image: v/mdbook-dockerfile
|
image: v/mdbook-container
|
||||||
tag: 0.1.0
|
tag: 0.1.0
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
{
|
{
|
||||||
description = "A very basic flake";
|
description = "an container for mdbook with the toc plugin";
|
||||||
inputs = {
|
inputs = {
|
||||||
nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable";
|
nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable";
|
||||||
flake-utils.url = "github:numtide/flake-utils";
|
flake-utils.url = "github:numtide/flake-utils";
|
||||||
|
@ -12,7 +12,7 @@
|
||||||
in {
|
in {
|
||||||
packages = rec {
|
packages = rec {
|
||||||
docker = pkgs.dockerTools.buildLayeredImage {
|
docker = pkgs.dockerTools.buildLayeredImage {
|
||||||
name = "mdbook-plus";
|
name = "mdbook-container";
|
||||||
contents = [
|
contents = [
|
||||||
(pkgs.buildEnv {
|
(pkgs.buildEnv {
|
||||||
name = "mdbook-env";
|
name = "mdbook-env";
|
||||||
|
|
Loading…
Reference in a new issue