Skip to content

Build vulndb

Build vulndb #20

Workflow file for this run

name: Build vulndb
on:
workflow_dispatch: {}
schedule:
# Run once daily
- cron: "0 0 * * *"
jobs:
build:
name: Build and publish
runs-on: ubuntu-latest
permissions:
contents: read
packages: write
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Log in to the container registry
uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Build and publish
env:
INPUT_GITHUB_ACTOR: ${{ github.actor }}
INPUT_GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: go run tools/vulndb/*.go