diff --git a/.github/workflows/build-push-images.yml b/.github/workflows/build-push-images.yml index 661258a..f49d58d 100644 --- a/.github/workflows/build-push-images.yml +++ b/.github/workflows/build-push-images.yml @@ -5,6 +5,10 @@ on: branches: - main + pull_request: + branches: + - main + workflow_dispatch: jobs: @@ -25,6 +29,7 @@ jobs: - name: Login to quay.io run: buildah login --username ${{ secrets.QUAY_USER }} --password ${{ secrets.QUAY_PASSWORD }} quay.io + if: ${{ github.event_name == 'push' }} - name: Build id: build @@ -38,5 +43,5 @@ jobs: context: ${{ env.dir }} - name: Push To quay.io - #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 }} + if: ${{ github.event_name == 'push' }} diff --git a/fedora-boot-cloud/Containerfile b/fedora-bootc-cloud/Containerfile similarity index 87% rename from fedora-boot-cloud/Containerfile rename to fedora-bootc-cloud/Containerfile index 05d97ed..d3107a5 100644 --- a/fedora-boot-cloud/Containerfile +++ b/fedora-bootc-cloud/Containerfile @@ -1,6 +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 quay.io/centos-bootc/fedora-dev-bootc:eln +FROM quay.io/centos-bootc/fedora-bootc-dev: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 diff --git a/fedora-boot-cloud/README.md b/fedora-bootc-cloud/README.md similarity index 100% rename from fedora-boot-cloud/README.md rename to fedora-bootc-cloud/README.md diff --git a/fedora-boot-cloud/usr/lib/bootc/install/05-cloud-kargs.toml b/fedora-bootc-cloud/usr/lib/bootc/install/05-cloud-kargs.toml similarity index 100% rename from fedora-boot-cloud/usr/lib/bootc/install/05-cloud-kargs.toml rename to fedora-bootc-cloud/usr/lib/bootc/install/05-cloud-kargs.toml diff --git a/fedora-boot-cloud/usr/lib/systemd/system/serial-getty@ttyS0.service.d/10-autologin.conf b/fedora-bootc-cloud/usr/lib/systemd/system/serial-getty@ttyS0.service.d/10-autologin.conf similarity index 100% rename from fedora-boot-cloud/usr/lib/systemd/system/serial-getty@ttyS0.service.d/10-autologin.conf rename to fedora-bootc-cloud/usr/lib/systemd/system/serial-getty@ttyS0.service.d/10-autologin.conf