diff --git a/.github/dependabot.yml b/.github/dependabot.yml new file mode 100644 index 0000000..33bc481 --- /dev/null +++ b/.github/dependabot.yml @@ -0,0 +1,22 @@ +# 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" diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index a7c650a..f819c77 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -26,7 +26,6 @@ jobs: cat $GITHUB_WORKSPACE/profile.cov_tmp | grep -v "mocks" | grep -v "_mock" > $GITHUB_WORKSPACE/profile.cov working-directory: app env: - GO111MODULE: on TZ: "America/Chicago" - name: golangci-lint diff --git a/Dockerfile b/Dockerfile index 2b57332..f2dbc8b 100644 --- a/Dockerfile +++ b/Dockerfile @@ -4,7 +4,6 @@ ARG GIT_BRANCH ARG GITHUB_SHA ARG CI -ENV GOFLAGS="-mod=vendor" ENV CGO_ENABLED=0 ADD . /build @@ -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 \ diff --git a/Dockerfile.site b/Dockerfile.site index 46171e2..8efe45e 100644 --- a/Dockerfile.site +++ b/Dockerfile.site @@ -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