Skip to content

Commit

Permalink
[CI:BUILD] GHA to build podman machine images
Browse files Browse the repository at this point in the history
[NO NEW TESTS NEEDED]

Signed-off-by: Lokesh Mandvekar <lsm5@redhat.com>
  • Loading branch information
lsm5 committed Dec 1, 2023
1 parent 06c41b6 commit e29d4d2
Show file tree
Hide file tree
Showing 2 changed files with 34 additions and 0 deletions.
29 changes: 29 additions & 0 deletions .github/workflows/fcos-machine-images.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
name: Build FCOS image with packages from rhcontainerbot/podman-next

on:
pull_request:
branches:
- main

env:
IMAGE_NAME: fcos
# IMAGE_ARCHS has to be comma separated
IMAGE_ARCHS: amd64, arm64
IMAGE_REGISTRY: quay.io/podman
COPR_OWNER: rhcontainerbot
COPR_PROJECT: podman-next

jobs:
fcos-podman-next-image-build:
runs-on: ubuntu-latest

steps:
- name: Install qemu dependency
run: |
sudo apt update
sudo apt -y install qemu-user-static
- name: Clone and set up cosa
# run:

- name: Build vhdx and qcow2 images
5 changes: 5 additions & 0 deletions .github/workflows/fcos-podman-next-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,11 @@ jobs:
org.opencontainers.image.description=FCOS image with rpms from rhcontainerbot/podman-next copr
org.opencontainers.image.revision=${{ github.sha }}
# TODO: Build qemu and vhdx images with cosa
# Is that doable here itself?
# 1. Clone cosa
# 2. cosa fetch
# 3. cosa build qcow, hyperv

- name: Echo Outputs
run: |
Expand Down

0 comments on commit e29d4d2

Please sign in to comment.