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 16:51:45 +01:00
|
|
|
# - mv result result.tar.gz
|
|
|
|
# - cp result.tar.gz result
|
2022-12-03 16:11:39 +01:00
|
|
|
debug:
|
|
|
|
image: nixos/nix
|
|
|
|
commands:
|
2022-12-03 15:59:06 +01:00
|
|
|
- ls -la
|
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 16:51:45 +01:00
|
|
|
image: v/mdbook-dockerfile
|
2022-12-03 15:50:17 +01:00
|
|
|
tag: 0.1.0
|