Skip to content

Commit ee7856a

Browse files
authored
Specify exact Dockerfile directories for Dependabot (#99)
* Specify exact Dockerfile directories for Dependabot It seems the docker ecosystem does not scan the entire repo recursively but only looks into each given directory. Thus all locations of Dockerfile are given. At the moment dependabot does not update Dockerfiles and this should make it work. * retrigger CI * Revert "retrigger CI" This reverts commit e5970d7.
1 parent 3d1fc93 commit ee7856a

3 files changed

Lines changed: 9 additions & 2 deletions

File tree

.github/dependabot.yml

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,16 @@ updates:
2020
interval: daily
2121
# Docker base images
2222
- package-ecosystem: docker
23-
directory: /
23+
directory: /src/s-core-devcontainer/.devcontainer
2424
schedule:
2525
interval: daily
26+
groups:
27+
all-in-one:
28+
patterns:
29+
- "*"
30+
update-types:
31+
- "minor"
32+
- "patch"
2633
# DevContainer
2734
- package-ecosystem: devcontainers
2835
directory: /

scripts/functions.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ set_dockerfile_name() {
2020
# Check if proxies are configured in the environment
2121
set +u
2222
if [ -n "${HTTP_PROXY}${HTTPS_PROXY}${http_proxy}${https_proxy}${NO_PROXY}${no_proxy}" ]; then
23-
DEVCONTAINER_DOCKERFILE_NAME="Dockerfile-with-proxy-vars"
23+
DEVCONTAINER_DOCKERFILE_NAME="with-proxy-vars.Dockerfile"
2424
echo "Proxy environment detected."
2525
fi
2626
set -u

src/s-core-devcontainer/.devcontainer/Dockerfile-with-proxy-vars renamed to src/s-core-devcontainer/.devcontainer/with-proxy-vars.Dockerfile

File renamed without changes.

0 commit comments

Comments
 (0)