2022-12-03 16:00:42 +01:00
|
|
|
workspace:
|
|
|
|
base: /mdbook
|
|
|
|
|
2022-11-27 21:55:46 +01:00
|
|
|
pipeline:
|
|
|
|
nix:
|
|
|
|
image: nixos/nix
|
2022-11-27 22:00:46 +01:00
|
|
|
environment:
|
2022-11-27 22:01:44 +01:00
|
|
|
- NIX_CONFIG=experimental-features = nix-command flakes
|
2022-11-27 21:55:46 +01:00
|
|
|
commands:
|
|
|
|
- nix flake check
|
|
|
|
- nix build '.#mdbook-toc'
|
2022-12-03 15:19:25 +01:00
|
|
|
- nix build '.#docker'
|
2022-12-03 17:04:48 +01:00
|
|
|
- cp result.tar.gz image.tar.gz
|
2022-12-03 15:50:17 +01:00
|
|
|
publish:
|
2022-12-03 16:51:45 +01:00
|
|
|
image: git.0x76.dev/v/push-container:0.2.0
|
2022-12-03 15:50:17 +01:00
|
|
|
settings:
|
|
|
|
username: v
|
|
|
|
password:
|
|
|
|
from_secret: registry_password
|
|
|
|
repo: git.0x76.dev
|
2022-12-03 17:04:48 +01:00
|
|
|
image: v/mdbook-container
|
2022-12-03 15:50:17 +01:00
|
|
|
tag: 0.1.0
|