Deploy a bundle including a Grype database #119
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Deploy a bundle including a Grype database | |
on: | |
push: | |
branches: | |
- main | |
- features/** | |
schedule: | |
- cron: '0 13 * * 1' | |
jobs: | |
deploy: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
token: ${{ secrets.GITHUB_TOKEN }} | |
- uses: vmware-tanzu/carvel-setup-action@v1 | |
- uses: buildpacks/github-actions/setup-pack@v5.2.0 | |
- uses: anchore/scan-action/download-grype@v3 | |
- name: Log in to the container registry | |
uses: docker/login-action@v2 | |
with: | |
registry: ghcr.io | |
username: ${{ github.actor }} | |
password: ${{ secrets.GITHUB_TOKEN }} | |
- name: Build and deploy image | |
run: make install |