[skip-ci] machine images #2
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: Build FCOS image with packages from rhcontainerbot/podman-next | |
on: | |
pull_request: | |
branches: | |
- main | |
# Run everyday at midnight and pull the latest packages from the copr | |
schedule: | |
- cron: '0 0 * * *' | |
env: | |
MACHINE_IMAGE_NAME: machine-images | |
# 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: Set up cosa | |
run: | | |
podman pull quay.io/coreos-assembler/coreos-assembler | |
mkdir fcos | |
cd fcos | |
cat ./contrib/podman-next/machine-image/cosa-snippet >> ~/.bashrc | |
- name: Build Machine images | |
run: | | |
cosa shell | |
# cosa init https://github.com/coreos/fedora-coreos-config | |
#cosa fetch | |
#cosa build | |
#- name: Check out code | |
#uses: actions/checkout@v4 |