gitlab-runner: set dockerPullPolicy

This commit is contained in:
Leonardo Eugênio 2025-07-03 12:57:59 -03:00
parent c997b03f4f
commit 76a88ae74c
No known key found for this signature in database
GPG key ID: 2F8F21CE8721456B
2 changed files with 2 additions and 0 deletions

View file

@ -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"

View file

@ -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";
}; };
}; };
}; };