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:
parent
af535f2a5c
commit
57c8bdf570
2 changed files with 34 additions and 4 deletions
20
.github/workflows/pr.yml
vendored
Normal file
20
.github/workflows/pr.yml
vendored
Normal 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
|
Loading…
Add table
Add a link
Reference in a new issue