update ci
This commit is contained in:
parent
33cfe3d56d
commit
5dfb3614e7
2 changed files with 3 additions and 8 deletions
|
@ -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
|
||||
|
|
|
@ -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 {
|
||||
|
|
Loading…
Reference in a new issue