mirror of
https://gitlab.com/TECHNOFAB/nix-gitlab-ci.git
synced 2025-12-12 02:00:13 +01:00
docs(readme): update usage infos
This commit is contained in:
parent
f1b8b5a210
commit
6fa2806219
1 changed files with 4 additions and 2 deletions
|
|
@ -12,7 +12,7 @@ Also makes it possible to split CI parts in a separate module which can be impor
|
||||||
# flake.nix
|
# flake.nix
|
||||||
{
|
{
|
||||||
...
|
...
|
||||||
inputs.nix-gitlab-ci.url = "gitlab:TECHNOFAB/nix-gitlab-ci?dir=lib";
|
inputs.nix-gitlab-ci.url = "gitlab:TECHNOFAB/nix-gitlab-ci/<version>?dir=lib"; # recommendation: pin to the latest release/version
|
||||||
|
|
||||||
outputs = {...}: flake-parts.lib.mkFlake {...} {
|
outputs = {...}: flake-parts.lib.mkFlake {...} {
|
||||||
imports = [
|
imports = [
|
||||||
|
|
@ -48,7 +48,9 @@ Also makes it possible to split CI parts in a separate module which can be impor
|
||||||
```yaml
|
```yaml
|
||||||
# .gitlab-ci.yml
|
# .gitlab-ci.yml
|
||||||
include:
|
include:
|
||||||
- component: gitlab.com/TECHNOFAB/nix-gitlab-ci/nix-gitlab-ci@<version> # recommendation: use the latest version (try not to use latest)
|
- component: gitlab.com/TECHNOFAB/nix-gitlab-ci/nix-gitlab-ci@<version> # recommendation: pin to the latest release/version (don't use "main" etc.)
|
||||||
|
inputs:
|
||||||
|
version: <version> # docker image tag, use the same version as a above
|
||||||
```
|
```
|
||||||
|
|
||||||
## Utilities
|
## Utilities
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue