Skip to content

add container build test #2

add container build test

add container build test #2

Workflow file for this run

name: Container build
on:
push:
branches:
- master
paths:
- 'container-images/**'
- '.github/workflows/container.yml'
pull_request:
paths:
- 'container-images/**'
- '.github/workflows/container.yml'
permissions:
contents: read
concurrency:
group: ${{ github.ref_name }}-${{ github.workflow }}
cancel-in-progress: true
jobs:
container:
name: ${{ matrix.container }}
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
container:
- candlepin
- foreman
- foreman-proxy
steps:
- uses: actions/checkout@v4
- name: Build ${{ matrix.container }} container
run: make -C container-images/${{ matrix.container }} build