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

Commit

Permalink
Initial import of fedora-boot-cloud
Browse files Browse the repository at this point in the history
  • Loading branch information
cgwalters committed Nov 9, 2023
1 parent 360cb57 commit 94bd249
Show file tree
Hide file tree
Showing 4 changed files with 40 additions and 13 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
---
name: publish-image

on:
Expand All @@ -9,17 +8,14 @@ on:

workflow_dispatch:

env:
REGISTRY: ghcr.io
IMAGE: quay.io/centos-boot/builder

jobs:

build-and-push-image:
runs-on: ubuntu-latest

steps:
env:
dir: fedora-boot-cloud

steps:
- name: Install qemu dependency
run: |
sudo apt-get update
Expand All @@ -32,13 +28,15 @@ jobs:
run: buildah login --username ${{ secrets.QUAY_USER }} --password ${{ secrets.QUAY_PASSWORD }} quay.io

- name: Build
id: build
uses: redhat-actions/buildah-build@b4dc19b4ba891854660ab1f88a097d45aa158f76 # v2.12
with:
image: ${{ env.IMAGE }}
tags: latest
containerfiles: ./Containerfile
archs: s390x, arm64, amd64, ppc64le
context: .
image: quay.io/centos-boot/${{ env.dir }}
tags: eln
containerfiles: ./${{ env.dir }}/Containerfile
archs: amd64
context: ${{ env.dir }}

- name: Push To quay.io
run: buildah manifest push --all ${{ env.IMAGE }} docker://${{ env.IMAGE }}
#run: buildah manifest push --all ${{ steps.build.outputs.image-with-tag }} docker://${{ steps.build.outputs.image-with-tag }}
run: buildah push ${{ steps.build.outputs.image-with-tag }} docker://${{ steps.build.outputs.image-with-tag }}
21 changes: 21 additions & 0 deletions LICENSE
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
MIT License

Copyright (c) 2023 Colin Walters

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# centos-boot-layered

Images layered on top of the core [centos-boot](https://github.com/CentOS/centos-boot) base images.

## Badges

| Badge | Description | Service |
Expand Down
6 changes: 6 additions & 0 deletions fedora-boot-cloud/Containerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
# This image contains cloud-init, which makes it usable out of the box
# for e.g. a pre-generated AWS or KVM guest system.
FROM registry.gitlab.com/centos/cloud/sagano/fedora-boot-tier-1:eln
RUN dnf -y install cloud-init && \
ln -s ../cloud-init.target /usr/lib/systemd/system/default.target.wants && \
rm /var/log/*.log /var/lib/dnf -rf && ostree container commit

0 comments on commit 94bd249

Please sign in to comment.