docs: update example openshift templates #240
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: Apicurio Registry Operator - Build and test a pull request | |
on: [ pull_request ] | |
env: | |
IMAGE_REGISTRY: quay.io | |
IMAGE_REGISTRY_ORG: apicurio | |
jobs: | |
test: | |
name: Build and test a pull request | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-go@v2 | |
with: | |
go-version: '^1.17.10' | |
- run: go version | |
- name: Setup the environment | |
run: ./.github/scripts/setup.sh | |
- name: Build | |
id: build | |
run: make build bundle bundle-build | |
- name: Test | |
id: test | |
run: CI_BUILD=true ./.github/scripts/test_operator.sh | |
- name: Collect logs | |
if: failure() | |
run: ./.github/scripts/collect_logs.sh | |
- name: Upload tests logs artifacts | |
if: failure() | |
uses: actions/[email protected] | |
with: | |
name: tests-logs | |
path: artifacts |