Skip to content

chore: add crc-builder spec #4

chore: add crc-builder spec

chore: add crc-builder spec #4

Workflow file for this run

name: oci-builds
on:
push:
branches: [ main ]
tags:
- '*'
pull_request:
branches: [ main ]
jobs:
build-oci:
name: build-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 oci-build
build-multiarch-oci:
name: build-multiarch-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-system
- 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 oci-multiarch-build