diff --git a/.github/workflows/mongodb.yml b/.github/workflows/mongodb.yml index 8ec4c33..e3f9523 100644 --- a/.github/workflows/mongodb.yml +++ b/.github/workflows/mongodb.yml @@ -23,7 +23,7 @@ jobs: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: sparse-checkout: mongodb diff --git a/.trunk/trunk.yaml b/.trunk/trunk.yaml index e98156c..2035a9b 100644 --- a/.trunk/trunk.yaml +++ b/.trunk/trunk.yaml @@ -17,6 +17,10 @@ runtimes: - python@3.10.8 # This is the section where you manage your linters. (https://docs.trunk.io/check/configuration) lint: + disabled: + - trufflehog # Trufflehog duplicates gitleaks functionality. + - terrascan + - trivy enabled: - gitleaks@8.18.2 - markdownlint@0.40.0 @@ -25,8 +29,6 @@ lint: - checkov@3.2.92 - git-diff-check - prettier@3.2.5 - - trivy@0.51.1 - - trufflehog@3.76.2 - yamllint@1.35.1 definitions: - name: markdownlint diff --git a/Dockerfile b/Dockerfile index 9fddeaf..be9352f 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,7 @@ FROM mongo:7.0 +LABEL maintainer="Matthew Baggett " \ + org.label-schema.vcs-url="https://github.com/benzine-framework/docker-mongodb" \ + org.opencontainers.image.source="https://github.com/benzine-framework/docker-mongodb" HEALTHCHECK --interval=5s --timeout=3s --start-period=0s --retries=5 \ CMD echo 'db.stats().ok' | mongosh --norc --quiet --host=localhost:27017 COPY mongo-init.js /docker-entrypoint-initdb.d/