Skip to content

Commit 1e97e89

Browse files
committed
Add dependabot alerts
Signed-off-by: Faraz Khawaja <khwajafarazahmed@yahoo.com> Fix job schedule Signed-off-by: Faraz Khawaja <khwajafarazahmed@yahoo.com> Fix job schedule Signed-off-by: Faraz Khawaja <khwajafarazahmed@yahoo.com>
1 parent 226820a commit 1e97e89

File tree

2 files changed

+33
-1
lines changed

2 files changed

+33
-1
lines changed

.github/dependabot.yml

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
# .github/dependabot.yml
2+
# Documentation: https://docs.github.com/en/code-security/supply-chain-security/keeping-your-dependencies-updated-automatically/configuration-options-for-dependency-updates
3+
version: 2
4+
updates:
5+
6+
# GitHub Actions workflows
7+
- package-ecosystem: "github-actions"
8+
directory: "/"
9+
schedule:
10+
interval: "weekly"
11+
day: "monday"
12+
commit-message:
13+
prefix: ":seedling:"
14+
labels:
15+
- "github-actions"
16+
17+
# Go modules
18+
- package-ecosystem: "gomod"
19+
directory: "/"
20+
schedule:
21+
interval: "weekly"
22+
day: "monday"
23+
commit-message:
24+
prefix: ":seedling:"
25+
labels:
26+
- "dependencies"
27+
groups:
28+
kubernetes:
29+
patterns:
30+
- "k8s.io/*"
31+

scripts/build_funcs.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,8 @@ IMAGE_BRANCH=$(git rev-parse --abbrev-ref HEAD | sed 's/\///g')
3131
GIT_REF_LONG=$(git rev-parse --verify HEAD)
3232

3333
BUILDMNT=/go/src/$GOTARGET
34-
BUILD_IMAGE=golang:1.23.8
34+
GO_VERSION=$(go env GOVERSION | sed 's/go//')
35+
BUILD_IMAGE="golang:${GO_VERSION}"
3536
AMD_IMAGE=gcr.io/distroless/static:nonroot
3637
ARM_IMAGE=gcr.io/distroless/static:nonroot-arm64
3738
PPC64LE_IMAGE=gcr.io/distroless/static:nonroot-ppc64le

0 commit comments

Comments
 (0)