Skip to content

Commit

Permalink
add dependabot monthly updates for all code
Browse files Browse the repository at this point in the history
  • Loading branch information
paskal authored and umputun committed May 8, 2024
1 parent 8300b59 commit ea4dd49
Show file tree
Hide file tree
Showing 4 changed files with 63 additions and 0 deletions.
54 changes: 54 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@
# To get started with Dependabot version updates, you'll need to specify which
# package ecosystems to update and where the package manifests are located.
# Please see the documentation for all configuration options:
# https://docs.github.com/code-security/dependabot/dependabot-version-updates/configuration-options-for-the-dependabot.yml-file

version: 2
updates:
- package-ecosystem: "github-actions"
directory: "/"
schedule:
interval: "monthly"
groups:
"GitHub Actions updates":
patterns:
- "*"
- package-ecosystem: "docker"
directory: "/"
schedule:
interval: "monthly"
- package-ecosystem: "docker"
directory: "/publisher"
schedule:
interval: "monthly"
- package-ecosystem: "docker"
directory: "/updater"
schedule:
interval: "monthly"
- package-ecosystem: "gomod"
directory: "/rss_generator"
schedule:
interval: "monthly"
groups:
"Go modules updates":
dependency-type: "production"
"Go modules updates for tests":
dependency-type: "development"
- package-ecosystem: "gomod"
directory: "/publisher"
schedule:
interval: "monthly"
groups:
"Go modules updates":
dependency-type: "production"
"Go modules updates for tests":
dependency-type: "development"
- package-ecosystem: "npm"
directory: "/hugo"
schedule:
interval: "monthly"
groups:
"NPM modules updates":
dependency-type: "production"
"NPM development modules updates":
dependency-type: "development"
3 changes: 3 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,9 @@ RUN cd /build && go build -o /build/bin/rss_generator -ldflags "-s -w" && ls -la

FROM alpine:3.18

# https://docs.github.com/en/code-security/dependabot/dependabot-version-updates/configuration-options-for-the-dependabot.yml-file#docker
LABEL org.opencontainers.image.source="https://github.com/radio-t/radio-t-site"

RUN \
apk add --update --no-cache tzdata curl openssl git openssh-client ca-certificates && \
cp /usr/share/zoneinfo/EST /etc/localtime && \
Expand Down
3 changes: 3 additions & 0 deletions publisher/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,9 @@ RUN \

FROM umputun/baseimage:app-latest

# https://docs.github.com/en/code-security/dependabot/dependabot-version-updates/configuration-options-for-the-dependabot.yml-file#docker
LABEL org.opencontainers.image.source="https://github.com/radio-t/radio-t-site"

RUN \
apk add --update openssh-client git && \
mkdir -p /home/app/.ssh && \
Expand Down
3 changes: 3 additions & 0 deletions updater/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
FROM alpine:3.8

# https://docs.github.com/en/code-security/dependabot/dependabot-version-updates/configuration-options-for-the-dependabot.yml-file#docker
LABEL org.opencontainers.image.source="https://github.com/radio-t/radio-t-site"

ENV \
TERM=xterm-color \
TIME_ZONE=America/Chicago \
Expand Down

0 comments on commit ea4dd49

Please sign in to comment.