Skip to content

Commit

Permalink
try sbom action
Browse files Browse the repository at this point in the history
  • Loading branch information
NicolasCARPi committed Jun 1, 2023
1 parent 619577f commit 306d3cf
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 1 deletion.
13 changes: 13 additions & 0 deletions .github/workflows/build_hypernext.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,10 @@ on:
schedule:
- cron: "42 01 * * *"

## GITHUB_TOKEN authentication
permissions:
contents: write

jobs:
buildandpush:
runs-on: ubuntu-latest
Expand Down Expand Up @@ -64,6 +68,15 @@ jobs:
vuln-type: 'os,library'
severity: 'CRITICAL,HIGH'

- name: Run Trivy in GitHub SBOM mode and submit results to Dependency Graph
uses: aquasecurity/trivy-action@master
with:
scan-type: 'fs'
format: 'github'
output: 'dependency-results.sbom.json'
image-ref: '.'
github-pat: ${{ secrets.GITHUB_TOKEN }}

# This ugly bit is necessary if you don't want your cache to grow forever
# till it hits GitHub's limit of 5GB.
# Temp fix
Expand Down
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
# Container image version
# Note: the version here is from `ELABIMG_VERSION` present in Dockerfile, not the tagged one

# 4.3.0

* Add php81-iconv package required by LdapRecord dependency

# 4.2.1

* Make 404 page lighter
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ RUN abuild-keygen -n -a && abuild && find /home/builder/packages -type f -name '
FROM alpine:3.16

# this is versioning for the container image
ENV ELABIMG_VERSION=4.2.1
ENV ELABIMG_VERSION=4.3.0

# the target elabftw version is passed with --build-arg
# it is a mandatory ARG
Expand Down

0 comments on commit 306d3cf

Please sign in to comment.