Skip to content

Commit

Permalink
Create dependabot.yml
Browse files Browse the repository at this point in the history
Signed-off-by: Anurag Rajawat <[email protected]>
  • Loading branch information
Anurag Rajawat committed May 22, 2024
1 parent 8121839 commit bb5b529
Show file tree
Hide file tree
Showing 3 changed files with 32 additions and 3 deletions.
29 changes: 29 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
# Please see the documentation for all configuration options:
# https://docs.github.com/github/administering-a-repository/configuration-options-for-dependency-updates

version: 2
updates:
- package-ecosystem: "github-actions"
directory: "/"
schedule:
interval: "weekly"

- package-ecosystem: "gomod"
directory: "/"
schedule:
interval: "weekly"

- package-ecosystem: "gomod"
directory: "/pkg/adapter/nimbus-kubearmor"
schedule:
interval: "weekly"

- package-ecosystem: "gomod"
directory: "/pkg/adapter/nimbus-netpol"
schedule:
interval: "weekly"

- package-ecosystem: "gomod"
directory: "/pkg/adapter/nimbus-kyverno"
schedule:
interval: "weekly"
2 changes: 1 addition & 1 deletion .github/workflows/release-image.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ jobs:
working-directory: ${{ inputs.WORKING_DIRECTORY }}

- name: Run Trivy vulnerability scanner
uses: aquasecurity/[email protected]
uses: aquasecurity/trivy-action@b2933f565dbc598b29947660e66259e3c7bc8561 # v0.20.0
with:
image-ref: 'docker.io/5gsec/${{ inputs.NAME }}:v0.1'
format: 'sarif'
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/stable-release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ concurrency:

jobs:
release-nimbus-image:
if: github.repository == '5GSEC/nimbus'
#if: github.repository == '5GSEC/nimbus'
name: Build and push nimbus image
uses: ./.github/workflows/release-image.yaml
with:
Expand All @@ -25,7 +25,7 @@ jobs:
secrets: inherit

release-adapters-image:
if: github.repository == '5GSEC/nimbus'
#if: github.repository == '5GSEC/nimbus'
strategy:
matrix:
adapters: [ "nimbus-kubearmor", "nimbus-netpol", "nimbus-kyverno" ]
Expand Down

0 comments on commit bb5b529

Please sign in to comment.