Merging pull request 344 #7
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: Makefile CI | |
on: | |
push: | |
branches: [ main ] | |
pull_request: | |
branches: [ main ] | |
jobs: | |
build: | |
runs-on: ubuntu-22.04 | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Set up Go | |
uses: actions/setup-go@v4 | |
with: | |
go-version-file: go.mod | |
check-latest: true | |
- name: Download controller-gen | |
run: make controller-gen | |
- name: Download kustomize | |
run: make kustomize | |
- name: Download envtest | |
run: make envtest | |
- name: Build controller | |
run: make build | |
- name: Build bundle | |
run: make bundle IMG=quay.io/confidential-containers/operator:latest |