Updates Github Actions

Github Actions will now build on a PR.
Github Actions will now build and push an image to quay on a commit to
the main branch.
This commit is contained in:
Renán Del Valle 2021-11-23 20:09:44 -08:00
parent af535f2a5c
commit 57c8bdf570
No known key found for this signature in database
GPG key ID: C240AD6D6F443EC9
2 changed files with 34 additions and 4 deletions

20
.github/workflows/pr.yml vendored Normal file
View file

@ -0,0 +1,20 @@
name: Pull Request Build
on:
pull_request:
branches: [ main ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up Go
uses: actions/setup-go@v2
with:
go-version: 1.17
- name: Build
run: make