diff --git a/.gitea/workflows/almalinux8.yaml b/.gitea/workflows/almalinux8.yaml index 18a5956..f17d196 100644 --- a/.gitea/workflows/almalinux8.yaml +++ b/.gitea/workflows/almalinux8.yaml @@ -8,18 +8,18 @@ on: jobs: build: name: Build almalinux8 container images - runs-on: almalinux-latest - # container: - # image: ghcr.io/catthehacker/ubuntu:act-latest + runs-on: ubuntu-latest + container: + image: quay.io/almalinuxorg/9-minimal:9.5 strategy: matrix: flavor: ["default", "micro"] version: ["8.10"] steps: - - name: Setup buildah + - name: Setup requirement shell: bash run: | - sudo apt -y install buildah + microdnf -y install git buildah podman - name: Check out repository code uses: actions/checkout@v4 - if: ${{ matrix.flavor == 'default' }} @@ -80,9 +80,13 @@ jobs: runs-on: almalinux-latest needs: - build - # container: - # image: ghcr.io/catthehacker/ubuntu:act-latest + container: + image: quay.io/almalinuxorg/9-minimal:9.5 steps: + - name: Setup requirement + shell: bash + run: | + microdnf -y install git buildah podman - name: Check out repository code uses: actions/checkout@v4 - name: Build and push latest almalinux8-micro diff --git a/.gitea/workflows/almalinux9.yaml b/.gitea/workflows/almalinux9.yaml index a43d973..a6d942a 100644 --- a/.gitea/workflows/almalinux9.yaml +++ b/.gitea/workflows/almalinux9.yaml @@ -8,18 +8,18 @@ on: jobs: build: name: Build almalinux9 container images - runs-on: almalinux-latest - # container: - # image: ghcr.io/catthehacker/ubuntu:act-latest + runs-on: ubuntu-latest + container: + image: quay.io/almalinuxorg/9-minimal:9.5 strategy: matrix: flavor: ["default", "micro"] version: ["9.5"] steps: - - name: Setup buildah + - name: Setup requirement shell: bash run: | - sudo apt -y install buildah + microdnf -y install git buildah podman - name: Check out repository code uses: actions/checkout@v4 - if: ${{ matrix.flavor == 'default' }} @@ -80,9 +80,13 @@ jobs: runs-on: almalinux-latest needs: - build - # container: - # image: ghcr.io/catthehacker/ubuntu:act-latest + container: + image: quay.io/almalinuxorg/9-minimal:9.5 steps: + - name: Setup requirement + shell: bash + run: | + microdnf -y install git buildah podman - name: Check out repository code uses: actions/checkout@v4 - name: Build and push latest almalinux9-micro