Skip to content

Adding auto-updater to charts repo #8

Adding auto-updater to charts repo

Adding auto-updater to charts repo #8

name: Auto Updater
on:
pull_request:
paths:
- auto-updater/**
jobs:
ci:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
with:
fetch-depth: 0
- name: Build Image
run: docker build -t auto-updater:${{ github.sha }} ./auto-updater
- name: Run Trivy vulnerability scanner
uses: aquasecurity/trivy-action@master
with:
image-ref: 'auto-updater:${{ github.sha }}'
format: 'table'
exit-code: '1'
ignore-unfixed: true
vuln-type: 'os,library'
severity: 'CRITICAL,HIGH'
- name: Login to GAR
uses: docker/login-action@v2
with:
registry: us-docker.pkg.dev
username: _json_key
password: "${{ secrets.GCP_SPOTIT_TODAY }}"