- fork this repo
- Clone repo
- Create new branch:
git checkout -b feature/test-something
- Commit and push
- Create pull request to main branch
- Check github action run and Scan result
- Docker local installed
- At react app workdir (containr Dockerfile)
- Build docker image:
docker build -t react-app .
- Trivy Scan:
docker run -v /var/run/docker.sock:/var/run/docker.sock aquasec/trivy:0.53.0 image react-app
- Change docker base image to old version:
FROM node:12-alpine