Skip to content

Commit

Permalink
add dependabot updates for GitHub Actions and Go modules
Browse files Browse the repository at this point in the history
  • Loading branch information
paskal committed May 9, 2024
1 parent 645e6e0 commit 9c2d2f4
Show file tree
Hide file tree
Showing 3 changed files with 29 additions and 1 deletion.
24 changes: 24 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
# 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: "gomod"
directory: "/"
schedule:
interval: "monthly"
groups:
"Go modules updates":
dependency-type: "production"
"Go modules updates for tests":
dependency-type: "development"
4 changes: 3 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ ARG GIT_BRANCH
ARG GITHUB_SHA
ARG CI

ENV GOFLAGS="-mod=vendor"
ENV CGO_ENABLED=0

ADD . /build
Expand All @@ -21,6 +20,9 @@ RUN \

FROM umputun/baseimage:app-latest

# enables automatic changelog generation by tools like Dependabot
LABEL org.opencontainers.image.source="https://github.com/umputun/feed-master"

COPY --from=build /build/feed-master /srv/feed-master
COPY app/webapp /srv/webapp
RUN \
Expand Down
2 changes: 2 additions & 0 deletions Dockerfile.site
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@ RUN mkdocs build


FROM ghcr.io/umputun/reproxy
# enables automatic changelog generation by tools like Dependabot
LABEL org.opencontainers.image.source="https://github.com/umputun/feed-master"
COPY --from=build /build/site /srv/site
EXPOSE 8080
USER app
Expand Down

0 comments on commit 9c2d2f4

Please sign in to comment.