Skip to content

Commit

Permalink
Build container images inside CS9 container
Browse files Browse the repository at this point in the history
To mitigate issues around different buildah versions between Fedora/CS9
and Ubuntu, let's build images inside CS9 container.

Signed-off-by: Martin Perina <[email protected]>
  • Loading branch information
mwperina committed Mar 27, 2024
1 parent 697bc57 commit baf5b8a
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions .github/workflows/images.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,18 @@ on:
jobs:
build_container:
runs-on: ubuntu-latest
container:
image: quay.io/centos/centos:stream9
steps:
- name: Install dependencies
run: |
dnf install \
buildah \
-y
- name: Checkout sources
uses: actions/checkout@v4

- name: Set up QEMU
uses: docker/setup-qemu-action@v3

- name: Build manifest
run: |
./build-scripts/build-push-containers.sh ${{ inputs.image }}
Expand Down

0 comments on commit baf5b8a

Please sign in to comment.