gitlab-runner: set dockerPullPolicy
This commit is contained in:
parent
c997b03f4f
commit
76a88ae74c
2 changed files with 2 additions and 0 deletions
|
@ -34,6 +34,7 @@ in
|
||||||
# `REGISTRATION_TOKEN`
|
# `REGISTRATION_TOKEN`
|
||||||
inherit authenticationTokenConfigFile; # 2
|
inherit authenticationTokenConfigFile; # 2
|
||||||
dockerImage = "alpine:3.18.2";
|
dockerImage = "alpine:3.18.2";
|
||||||
|
dockerPullPolicy = "if-not-present";
|
||||||
dockerVolumes = [
|
dockerVolumes = [
|
||||||
"/etc/nix/nix.conf:/etc/nix/nix.conf:ro"
|
"/etc/nix/nix.conf:/etc/nix/nix.conf:ro"
|
||||||
"/nix/store:/nix/store:ro"
|
"/nix/store:/nix/store:ro"
|
||||||
|
|
|
@ -26,6 +26,7 @@ in
|
||||||
# `CI_SERVER_TOKEN`
|
# `CI_SERVER_TOKEN`
|
||||||
authenticationTokenConfigFile = config.sops.secrets."gitlab-runners/docker-images-token".path;
|
authenticationTokenConfigFile = config.sops.secrets."gitlab-runners/docker-images-token".path;
|
||||||
dockerImage = "debian:stable";
|
dockerImage = "debian:stable";
|
||||||
|
dockerPullPolicy = "if-not-present";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue