update ci
Some checks failed
ci/woodpecker/push/woodpecker Pipeline was successful
ci/woodpecker/tag/woodpecker Pipeline failed

This commit is contained in:
Vivian 2022-12-06 07:55:25 +01:00
parent ed41db9ab0
commit b313cbb7e4
2 changed files with 3 additions and 8 deletions

View file

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

View file

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