From bc1183e2ce00217781836108f2d3db0db4633262 Mon Sep 17 00:00:00 2001 From: Victor Date: Sat, 3 Dec 2022 17:04:48 +0100 Subject: [PATCH] fix ci --- .woodpecker.yml | 9 ++------- flake.nix | 4 ++-- 2 files changed, 4 insertions(+), 9 deletions(-) diff --git a/.woodpecker.yml b/.woodpecker.yml index 311f81b..5369d84 100644 --- a/.woodpecker.yml +++ b/.woodpecker.yml @@ -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 diff --git a/flake.nix b/flake.nix index 16bd187..1e6a57f 100644 --- a/flake.nix +++ b/flake.nix @@ -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";