diff --git a/README.md b/README.md index 4b24815..b9a8159 100644 --- a/README.md +++ b/README.md @@ -42,7 +42,7 @@ Also makes it possible to split CI parts in a separate module which can be impor ```yaml # .gitlab-ci.yml include: - - component: gitlab.com/TECHNOFAB/nix-gitlab-ci/nix-gitlab-ci@1.1.0 + - component: gitlab.com/TECHNOFAB/nix-gitlab-ci/nix-gitlab-ci@1.1.1 inputs: # specify inputs here, for example: image_tag: latest-cachix diff --git a/templates/nix-gitlab-ci.yml b/templates/nix-gitlab-ci.yml index 425d203..627d15c 100644 --- a/templates/nix-gitlab-ci.yml +++ b/templates/nix-gitlab-ci.yml @@ -20,7 +20,7 @@ stages: - build - trigger variables: - NIX_CI_DISABLE_CACHE: "$[[ inputs.disable_cache ]]" + NIX_CI_DISABLE_CACHE: "$[[ inputs.disable_cache ]]${NIX_CI_DISABLE_CACHE:-}" nix-ci:build: stage: build image: registry.gitlab.com/technofab/nix-gitlab-ci/nix-ci:$[[ inputs.image_tag ]]