Skip to content
This repository has been archived by the owner on Jan 31, 2024. It is now read-only.

Commit

Permalink
Merge pull request #13 from cgwalters/cleanup-add-centos
Browse files Browse the repository at this point in the history
 Also build a c9s image
  • Loading branch information
cgwalters authored Nov 28, 2023
2 parents a582a1a + 66e3fda commit 00a8e0a
Show file tree
Hide file tree
Showing 7 changed files with 24 additions and 17 deletions.
18 changes: 15 additions & 3 deletions .github/workflows/build-and-push-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,17 @@ jobs:
build-and-push-image:
runs-on: ubuntu-latest

strategy:
matrix:
os: [fedora, centos]
include:
- os: fedora
tag: eln
- os: centos
tag: stream9

env:
dir: fedora-bootc-cloud
dir: cloud

steps:
- name: Install qemu dependency
Expand All @@ -35,10 +44,13 @@ jobs:
id: build
uses: redhat-actions/buildah-build@b4dc19b4ba891854660ab1f88a097d45aa158f76 # v2.12
with:
image: quay.io/centos-bootc/${{ env.dir }}
tags: eln
image: quay.io/centos-bootc/${{ matrix.os }}-bootc-cloud
tags: ${{ matrix.tag }}
oci: true
containerfiles: ./${{ env.dir }}/Containerfile
extra-args: |
--from
quay.io/centos-bootc/${{ matrix.os }}-bootc-dev:${{ matrix.tag }}
archs: amd64
context: ${{ env.dir }}

Expand Down
6 changes: 0 additions & 6 deletions Containerfile

This file was deleted.

5 changes: 1 addition & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,7 @@ Images layered on top of the core [centos-bootc][5] base images.

## Available images

### `quay.io/centos-boot/fedora-bootc-cloud:eln`

This [simple image](fedora-bootc-cloud/) builds on top of the base Fedora ELN image
and adds cloud-init.
The [cloud image](cloud) adds cloud-init.

## Badges

Expand Down
File renamed without changes.
12 changes: 8 additions & 4 deletions fedora-bootc-cloud/README.md → cloud/README.md
Original file line number Diff line number Diff line change
@@ -1,13 +1,17 @@
# fedora-bootc-cloud:eln
# A cloud-init image

Pull specs:

- Fedora ELN: `quay.io/centos-bootc/fedora-bootc-cloud:eln`
- CentOS Stream 9: `quay.io/centos-bootc/centos-bootc-cloud:stream9`

This container image [Containerfile](Containerfile) builds on top of the
[base Fedora ELN image](github.com/centos/centos-bootc) and adds cloud-init. It
[base image](github.com/centos/centos-bootc) and adds cloud-init. It
can be used in any virtualization/IaaS system that is
[supported by cloud-init](https://cloudinit.readthedocs.io/en/latest/reference/datasources.html)
such as [libvirt](https://blog.wikichoon.com/2020/09/virt-install-cloud-init.html),
AWS, etc.

- Pull spec: `quay.io/centos-bootc/fedora-bootc-cloud:eln`
- Download QCOW2: [Download](https://storage.googleapis.com/centos-bootc-dev/fedora-bootc-cloud.qcow2).
- Download QCOW2: [Fedora ELN](https://storage.googleapis.com/centos-bootc-dev/fedora-bootc-cloud.qcow2).

The qcow2 image was built using [osbuildbootc](https://github.com/cgwalters/osbuildbootc).
File renamed without changes.

0 comments on commit 00a8e0a

Please sign in to comment.