Add ForcePull option (#339)

Close #271

What it does: instead of forcing the value of `ForcePull` to false, the user can now configure it on the runner yaml

Reviewed-on: https://gitea.com/gitea/act_runner/pulls/339
Reviewed-by: Jason Song <[email protected]>
Co-authored-by: Gianni Angelozzi <[email protected]>
Co-committed-by: Gianni Angelozzi <[email protected]>
This commit is contained in:
Gianni Angelozzi authored and Jason Song committed 2023-08-17 06:51:57 +00:00
1 parent 7fc1b91ba6
commit 03f0829d09
3 files changed
+4 -1

No files matched your search

+2
View File
@@ -80,6 +80,8 @@ container:
# If it's "-", act_runner will find an available docker host automatically, but the docker host won't be mounted to the job containers and service containers.
# If it's not empty or "-", the specified docker host will be used. An error will be returned if it doesn't work.
docker_host: ""
# Pull docker image(s) even if already present
force_pull: false
host:
# The parent directory of a job's working directory.