Add nginx container to dependabot

This commit is contained in:
Fábio C. Barrionuevo da Luz 2024-09-04 20:28:57 -03:00
parent e567d058b3
commit 69be07f387
2 changed files with 19 additions and 2 deletions

View File

@ -1,5 +1,5 @@
# Config for Dependabot updates. See Documentation here:
# https://docs.github.com/code-security/supply-chain-security/keeping-your-dependencies-updated-automatically/configuration-options-for-dependency-updates
# https://docs.github.com/en/code-security/dependabot/dependabot-version-updates/configuration-options-for-the-dependabot.yml-file
version: 2
updates:
@ -96,6 +96,13 @@ updates:
labels:
- "update"
- package-ecosystem: "docker"
directory: "{{cookiecutter.project_slug}}/compose/production/nginx/"
schedule:
interval: "daily"
labels:
- "update"
- package-ecosystem: "docker"
directory: "{{cookiecutter.project_slug}}/compose/production/traefik/"
schedule:

View File

@ -1,5 +1,5 @@
# Config for Dependabot updates. See Documentation here:
# https://help.github.com/github/administering-a-repository/configuration-options-for-dependency-updates
# https://docs.github.com/en/code-security/dependabot/dependabot-version-updates/configuration-options-for-the-dependabot.yml-file
version: 2
updates:
@ -83,6 +83,16 @@ updates:
schedule:
interval: 'daily'
{%- if cookiecutter.cloud_provider == 'None' %}
- package-ecosystem: 'docker'
# Look for a `Dockerfile` in the `compose/production/nginx` directory
directory: 'compose/production/nginx/'
# Every weekday
schedule:
interval: 'daily'
{%- endif %}
{%- endif %}
# Enable version updates for Python/Pip - Production