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