You've already forked ddns-updater
github action + minor refactor
This commit is contained in:
31
.github/workflows/image-scanner.yml
vendored
31
.github/workflows/image-scanner.yml
vendored
@@ -1,31 +0,0 @@
|
||||
#name: build
|
||||
#on:
|
||||
# workflow_run:
|
||||
# workflows: [ "Code check" ]
|
||||
# types:
|
||||
# - completed
|
||||
#jobs:
|
||||
# on-failure:
|
||||
# runs-on: ubuntu-latest
|
||||
# if: ${{ github.event.workflow_run.conclusion == 'failure' }}
|
||||
# steps:
|
||||
# - run: echo 'The triggering workflow failed'
|
||||
# build:
|
||||
# name: Image vulnerability scanner
|
||||
# if: ${{ github.event.workflow_run.conclusion == 'success' }}
|
||||
# runs-on: ubuntu-20.04
|
||||
# steps:
|
||||
# - name: Checkout code
|
||||
# uses: actions/checkout@v2
|
||||
# - name: Build an image from Dockerfile
|
||||
# run: |
|
||||
# docker build -t docker.io/my-organization/my-app:${{ github.sha }} .
|
||||
# - name: Run Trivy vulnerability scanner
|
||||
# uses: aquasecurity/trivy-action@master
|
||||
# with:
|
||||
# image-ref: 'docker.io/my-organization/my-app:${{ github.sha }}'
|
||||
# format: 'table'
|
||||
# exit-code: '1'
|
||||
# ignore-unfixed: true
|
||||
# vuln-type: 'os,library'
|
||||
# severity: 'CRITICAL,HIGH'
|
||||
2
.github/workflows/quality-checks.yml
vendored
2
.github/workflows/quality-checks.yml
vendored
@@ -31,7 +31,7 @@ jobs:
|
||||
version: latest
|
||||
|
||||
dep-vulnerability:
|
||||
name: Dependency vulnerability scan
|
||||
name: Dependency vulnerability scanner
|
||||
needs: [docker-lint, golangci, tests]
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
|
||||
Reference in New Issue
Block a user