api: adding role and set correct name to get CRQ #1307
Workflow file for this run
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: image-builder | |
on: | |
push: | |
branches: ['*'] | |
pull_request: | |
branches: ['*'] | |
jobs: | |
container-build: | |
name: operator-build | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-go@v5 | |
with: | |
go-version-file: go.mod | |
- name: Build operator container image | |
run: make build | |
bundle-build: | |
name: bundle-build | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-go@v5 | |
with: | |
go-version-file: go.mod | |
- name: Build operator bundle container image | |
run: make bundle-build | |
catalog-build: | |
name: catalog-build | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-go@v5 | |
with: | |
go-version-file: go.mod | |
- name: Build catalog container image | |
env: | |
IMAGE_REGISTRY: localhost:5000 | |
run: | | |
docker run -d -p 5000:5000 --name registry registry:2 | |
make bundle-build bundle-push catalog-build |