diff --git a/templates/renovate.j2 b/templates/renovate.j2 index 1496115..601b3d8 100644 --- a/templates/renovate.j2 +++ b/templates/renovate.j2 @@ -1,3 +1,4 @@ #!/bin/bash -docker run --pull always --rm -v "/etc/renovate/config.js:/usr/src/app/config.js" -v "/var/run/docker.sock:/var/run/docker.sock" -v /tmp:/tmp -u "{{ renovate_docker_user_group }}" --env GITHUB_COM_TOKEN="{{ renovate_github_token }}" --env LOG_LEVEL={{ renovate_log_level }} {{ renovate_image_name }}:{{ renovate_image_tag }} renovate "$@" \ No newline at end of file +docker run --pull always --rm -v "/etc/renovate/config.js:/usr/src/app/config.js" -v "/var/run/docker.sock:/var/run/docker.sock" -v /tmp:/tmp -u "{{ renovate_docker_user_group }}" --env GITHUB_COM_TOKEN="{{ renovate_github_token }}" --env LOG_LEVEL={{ renovate_log_level }} {{ renovate_image_name }}:{{ renovate_image_tag }} renovate "$@" +docker image prune \ No newline at end of file