chore: add crc-builder spec #9
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: oci-builds | |
on: | |
push: | |
branches: [ main ] | |
tags: | |
- '*' | |
pull_request: | |
branches: [ main ] | |
jobs: | |
snc-runner-oci: | |
name: snc-runner-oci | |
runs-on: ubuntu-24.04 | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
- name: Build image for PR | |
if: ${{ github.event_name == 'pull_request' }} | |
shell: bash | |
run: | | |
SNC_RUNNER=ghcr.io/crc-org/ci-definitions SNC_RUNNER_V=pr-${{ github.event.number }} make build-snc-runner-oci | |
build-crc-builder-oci: | |
name: build-crc-builder-oci | |
runs-on: ubuntu-24.04 | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
- name: Prepare runner | |
shell: bash | |
run: | | |
sudo apt-get install -y qemu-user-static | |
- name: Build image for PR | |
if: ${{ github.event_name == 'pull_request' }} | |
shell: bash | |
run: | | |
CRC_BUILDER=ghcr.io/crc-org/ci-definitions CRC_BUILDER_V=pr-${{ github.event.number }} make build-crc-builder-oci | |