Skip to content

Add snyk-scan and report to Kosli #9

Add snyk-scan and report to Kosli

Add snyk-scan and report to Kosli #9

Workflow file for this run

name: Build Image and Publish to Dockerhub
on:
push:
branches:
- main
jobs:
pre-build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
build-test-push:
needs: [pre-build]
uses: cyber-dojo/reusable-actions-workflows/.github/workflows/kosli_build_test.yml@main
secrets:
DOCKER_PASS: ${{ secrets.DOCKER_PASS }}
DOCKER_USER: ${{ secrets.DOCKER_USER }}
KOSLI_API_TOKEN: ${{ secrets.KOSLI_API_TOKEN }}
SNYK_TOKEN: ${{ secrets.SNYK_TOKEN }}
with:
BUILD_COMMAND: build_test_publish.sh
KOSLI_FLOW: docker-base