Small cleanup

This commit is contained in:
Vladimir Remenar 2024-03-16 22:17:34 +01:00
parent d8ce803f08
commit 32ad6a58dd
1 changed files with 5 additions and 1 deletions

View File

@ -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: