diff --git a/.github/workflows/containerdisk-rockylinux9.5.yml b/.github/workflows/containerdisk-rockylinux9.5.yml new file mode 100644 index 0000000..9ae19ad --- /dev/null +++ b/.github/workflows/containerdisk-rockylinux9.5.yml @@ -0,0 +1,60 @@ +# ********************************************************************************************************************** # +# # +# ::: ::: ::: ::: ::: ::: ::::::::::: :::::::::: # +# containerdisk-rockylinux9.5.yml :+: :+: :+: :+: :+: :+: :+: :+: :+: # +# +:+ +:+ +:+ +:+ +:+ +:+ +:+ +:+ +:+ # +# By: codespace +#++:++ +#++:++#++: +#+ +#++: +#+ +#++:++# # +# +#+ +#+ +#+ +#+ +#+ +#+ +#+ +#+ # +# Created: 2023/12/17 16:36:36 by codespace #+# #+# #+# #+# #+# #+# #+# #+# # +# Updated: 2024/12/7 19:06:00 by codespace ### ### ### ### ########## ### ### ##########.ro # +# # +# ********************************************************************************************************************** # + +name: Container Image CI + +on: + push: + branches: [ "main" ] + pull_request: + branches: [ "main" ] + release: + types: [published] + schedule: + - cron: "0 0 * * *" + +env: + REGISTRY: ghcr.io + IMAGE_NAME: ${{ github.repository }} + +jobs: + build-and-push-image: + runs-on: ubuntu-latest + permissions: + contents: read + packages: write + + steps: + - name: Checkout repository + uses: actions/checkout@v3 + + - name: Login to Github Container Registory + uses: docker/login-action@v2 + with: + registry: ${{ env.REGISTRY }} + username: ${{ github.actor }} + password: ${{ secrets.GITHUB_TOKEN }} + + - name: Extract metadata (tags, labels) for Container + id: meta + uses: docker/metadata-action@9ec57ed1fcdbf14dcef7dfbe97b2010124a938b7 + with: + images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }} + + - name: Build and Push Container Images + uses: docker/build-push-action@v4 + with: + context: . + file: ./rockylinux9.5.Dockerfile + push: true + tags: ghcr.io/docheio/containerdisk-rockylinux:9.5 + labels: ${{ steps.meta.outputs.labels }} diff --git a/README.md b/README.md index a993b19..e5fbf7d 100644 --- a/README.md +++ b/README.md @@ -29,6 +29,7 @@ This repo provides container-disk that can be used for Kubevirt's cloud-init on | fedora | 41 | fedora | `ghcr.io/docheio/containerdisk-fedora:41` | | | rockylinux | 8 | rocky | `ghcr.io/docheio/containerdisk-rockylinux:8` | | | rockylinux | 9 | rocky | `ghcr.io/docheio/containerdisk-rockylinux:9` | | +| rockylinux | 9.5 | rocky | `ghcr.io/docheio/containerdisk-rockylinux:9.5` | | # Demo ```bash diff --git a/rockylinux9.5.Dockerfile b/rockylinux9.5.Dockerfile new file mode 100644 index 0000000..9fdc156 --- /dev/null +++ b/rockylinux9.5.Dockerfile @@ -0,0 +1,14 @@ +# ********************************************************************************************************************** # +# # +# ::: ::: ::: ::: ::: ::: ::::::::::: :::::::::: # +# rockylinux9.Dockerfile :+: :+: :+: :+: :+: :+: :+: :+: :+: # +# +:+ +:+ +:+ +:+ +:+ +:+ +:+ +:+ +:+ # +# By: codespace +#++:++ +#++:++#++: +#+ +#++: +#+ +#++:++# # +# +#+ +#+ +#+ +#+ +#+ +#+ +#+ +#+ # +# Created: 2023/12/17 16:35:37 by codespace #+# #+# #+# #+# #+# #+# #+# #+# # +# Updated: 2023/12/17 16:35:39 by codespace ### ### ### ### ########## ### ### ##########.ro # +# # +# ********************************************************************************************************************** # + +FROM scratch +ADD https://mirror.cat.net/rocky/9.5/images/x86_64/Rocky-9-GenericCloud.latest.x86_64.qcow2 /disk/