Small cleanup
This commit is contained in:
parent
d8ce803f08
commit
32ad6a58dd
|
@ -2,7 +2,7 @@ name: Docker
|
|||
|
||||
on:
|
||||
push:
|
||||
branches: [ "master" ]
|
||||
branches: ["master"]
|
||||
schedule:
|
||||
- cron: '0 22 1 * *'
|
||||
|
||||
|
@ -38,6 +38,7 @@ jobs:
|
|||
else
|
||||
docker build . --file Dockerfile
|
||||
fi
|
||||
|
||||
golangci-lint:
|
||||
name: runner / golangci-lint
|
||||
runs-on: ubuntu-latest
|
||||
|
@ -49,6 +50,7 @@ jobs:
|
|||
with:
|
||||
fail_on_error: true
|
||||
golangci_lint_flags: "--config=.github/.golangci.yml ."
|
||||
|
||||
vulnerability-scan:
|
||||
needs:
|
||||
- test
|
||||
|
@ -57,6 +59,7 @@ jobs:
|
|||
steps:
|
||||
- name: Perform vulnerability scan
|
||||
uses: ShiftLeftSecurity/scan-action@master
|
||||
|
||||
build-and-push:
|
||||
needs:
|
||||
- test
|
||||
|
@ -104,6 +107,7 @@ jobs:
|
|||
repository: ${{ secrets.DOCKERHUB_USERNAME }}/${{ env.IMAGENAME }}
|
||||
short-description: ${{ github.event.repository.description }}
|
||||
readme-filepath: ./README.md
|
||||
|
||||
image-vulnerability-scan:
|
||||
runs-on: ubuntu-latest
|
||||
needs:
|
||||
|
|
Loading…
Reference in New Issue