Skip to content

Trivy Aqua

Trivy Aqua #186

Workflow file for this run

name: Trivy Aqua
on:
workflow_dispatch:
schedule:
- cron: '0 4 * * MON'
env:
REGISTRY: containersol/locust_exporter
jobs:
trivy-scan:
name: Scan
runs-on: ubuntu-latest
timeout-minutes: 10
steps:
- name: Container - Login
uses: docker/login-action@v2
with:
username: ${{ secrets.DOCKERHUB_USER }}
password: ${{ secrets.DOCKERHUB_PASS }}
- name: Container - Pull
run: docker pull ${{ env.REGISTRY }}:latest
# Move to homoluctus/gitrivy when PR62 is merged
# https://github.com/lazy-actions/gitrivy/pull/62
- name: Container - Scan
uses: wochinge/gitrivy@master
with:
token: ${{ secrets.GITHUB_TOKEN }}
image: ${{ env.REGISTRY }}:latest