diff --git a/.github/workflows/stage0.yml b/.github/workflows/stage0.yml index ed4166ea..409327c1 100644 --- a/.github/workflows/stage0.yml +++ b/.github/workflows/stage0.yml @@ -62,41 +62,42 @@ jobs: file: docker/Dockerfile build-args: | OS_DISTRO=oraclelinux - OS_RELEASE=9 + OS_RELEASE=8 push: true tags: ghcr.io/siskapavel/oraclelinux:ol8 cache-from: type=gha cache-to: type=gha,mode=max - docker-image-rl8: - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v4 - - name: Set up Docker Buildx - uses: docker/setup-buildx-action@v3 - - name: Login to GitHub Container Registry - uses: docker/login-action@v3 - with: - registry: ghcr.io - username: ${{ github.actor }} - password: ${{ secrets.DOCKER_LOGIN }} - - name: Extract metadata (tags, labels) for Docker - id: meta - uses: docker/metadata-action@98669ae865ea3cffbcbaa878cf57c20bbf1c6c38 - with: - images: - ghcr.io/${{ github.actor }}/rockylinux:rl8 - - name: Build and push Docker image - uses: docker/build-push-action@v5 - with: - context: . - file: docker/Dockerfile - build-args: | - OS_DISTRO=rockylinux - OS_RELEASE=8 - push: true - tags: ghcr.io/siskapavel/rockylinux:rl8 - cache-from: type=gha - cache-to: type=gha,mode=max + docker-image-rl8: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + - name: Set up Docker Buildx + uses: docker/setup-buildx-action@v3 + - name: Login to GitHub Container Registry + uses: docker/login-action@v3 + with: + registry: ghcr.io + username: ${{ github.actor }} + password: ${{ secrets.DOCKER_LOGIN }} + - name: Extract metadata (tags, labels) for Docker + id: meta + uses: docker/metadata-action@98669ae865ea3cffbcbaa878cf57c20bbf1c6c38 + with: + images: + ghcr.io/${{ github.actor }}/rockylinux:ol8 + - name: Build and push Docker image + uses: docker/build-push-action@v5 + with: + context: . + file: docker/Dockerfile + build-args: | + OS_DISTRO=rockylinux + OS_RELEASE=8 + push: true + tags: ghcr.io/siskapavel/rockylinux:ol8 + cache-from: type=gha + cache-to: type=gha,mode=max + test_stage: runs-on: ubuntu-latest