Deploy a bundle including a Grype database #10
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: | |
workflow_dispatch: | |
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/[email protected] | |
- uses: anchore/scan-action/download-grype@v3 | |
- name: Log in to the container registry | |
uses: docker/login-action@v2 | |
with: | |
registry: quay.io | |
username: ${{ secrets.QUAYIO_REGISTRY_USERNAME }} | |
password: ${{ secrets.QUAYIO_REGISTRY_PASSWORD }} | |
- name: Build and deploy image | |
run: make install |