This commit is contained in:
Vivian 2022-12-03 17:04:48 +01:00
parent e8cfeb2bb1
commit cbc004573b
2 changed files with 4 additions and 9 deletions

View file

@ -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

View file

@ -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";