Skip to content

Feat - Included docker-scan for the images#61

Open
naveensrinivasan wants to merge 1 commit into
mainfrom
feat/docker-scan
Open

Feat - Included docker-scan for the images#61
naveensrinivasan wants to merge 1 commit into
mainfrom
feat/docker-scan

Conversation

@naveensrinivasan
Copy link
Copy Markdown
Member

Docker scan for the image.

Copy link
Copy Markdown
Contributor

@jordan-wright jordan-wright left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This seems reasonable to me! Left a couple of comments for consideration.

push:
pull_request:
schedule:
- cron: '0 0 * * 1'
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just a heads up, this appears to run at midnight every Monday - is that what you're looking to do?

docker build -t docker.pkg.github.com/ossf/package-feeds:${{ github.sha }} .

- name: Run Trivy vulnerability scanner
uses: aquasecurity/trivy-action@master
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can we pin this to a version or commit? It's my understanding that using actions from master isn't really recommended, if possible (even though this particular one looks lower risk).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants