From 5dfb3614e7d94e49c72745ef6bc41f8240062eda Mon Sep 17 00:00:00 2001 From: Vivian Roest Date: Tue, 6 Dec 2022 07:55:25 +0100 Subject: [PATCH] update ci --- .woodpecker.yml | 9 ++------- flake.nix | 2 +- 2 files changed, 3 insertions(+), 8 deletions(-) diff --git a/.woodpecker.yml b/.woodpecker.yml index 442f8ba..bd77553 100644 --- a/.woodpecker.yml +++ b/.woodpecker.yml @@ -1,6 +1,3 @@ -workspace: - base: /mdbook - pipeline: nix: image: nixos/nix @@ -9,14 +6,12 @@ pipeline: commands: - nix flake check - nix build '.#mdbook-toc' - - nix build '.#docker' - - cp result image.tar.gz publish: - image: git.0x76.dev/v/push-container:0.3.0 + image: git.0x76.dev/v/push-nix-container:main settings: username: v password: from_secret: registry_password + package: container # nix os package to build repo: git.0x76.dev image: v/mdbook-container - tag: 0.1.0 diff --git a/flake.nix b/flake.nix index 1e6a57f..6685dca 100644 --- a/flake.nix +++ b/flake.nix @@ -11,7 +11,7 @@ let pkgs = nixpkgs.legacyPackages.${system}; in { packages = rec { - docker = pkgs.dockerTools.buildLayeredImage { + container = pkgs.dockerTools.buildLayeredImage { name = "mdbook-container"; contents = [ (pkgs.buildEnv {