From e58207655c24687b9a88c215c86723035d40c091 Mon Sep 17 00:00:00 2001 From: Denis Denisov Date: Sat, 24 Feb 2024 04:28:54 +0200 Subject: [PATCH] s390x incompatible architecture --- .github/workflows/docker-image.yml | 78 +++++++++++++++--------------- README.md | 16 ++++-- 2 files changed, 53 insertions(+), 41 deletions(-) diff --git a/.github/workflows/docker-image.yml b/.github/workflows/docker-image.yml index b9c3dee..84b94c7 100644 --- a/.github/workflows/docker-image.yml +++ b/.github/workflows/docker-image.yml @@ -3,6 +3,8 @@ name: Docker Image CI on: push: branches: [ main ] + paths-ignore: + - 'README.md' jobs: build-host-amd64v4: @@ -33,7 +35,7 @@ jobs: tags: docker.io/denji/nginx-libressl:stable-alpine cache-from: type=registry,ref=docker.io/denji/nginx-libressl:stable-alpine cache-to: type=inline - build-arm64: + build-qemu-arm64: runs-on: ubuntu-latest steps: - name: Check Out Repo @@ -67,7 +69,7 @@ jobs: tags: docker.io/denji/nginx-libressl:stable-aarch64-alpine cache-from: type=registry,ref=docker.io/denji/nginx-libressl:stable-aarch64-alpine cache-to: type=inline - build-armv7: + build-qemu-armv7: runs-on: ubuntu-latest steps: - name: Check Out Repo @@ -101,7 +103,7 @@ jobs: tags: docker.io/denji/nginx-libressl:stable-armv7-alpine cache-from: type=registry,ref=docker.io/denji/nginx-libressl:stable-armv7-alpine cache-to: type=inline - #build-armhf: + #build-qemu-armhf: # runs-on: ubuntu-latest # steps: # - name: Check Out Repo @@ -135,41 +137,41 @@ jobs: # tags: docker.io/denji/nginx-libressl:stable-armhf-alpine # cache-from: type=registry,ref=docker.io/denji/nginx-libressl:stable-armhf-alpine # cache-to: type=inline - build-s390x: - runs-on: ubuntu-latest - steps: - - name: Check Out Repo - uses: actions/checkout@v4 - - name: Set up QEMU - uses: docker/setup-qemu-action@v3 - - name: Set up Docker Buildx - uses: docker/setup-buildx-action@v3 - - name: Login to DockerHub - uses: docker/login-action@v3 - with: - username: ${{ secrets.DOCKERHUB_USERNAME }} - password: ${{ secrets.DOCKERHUB_TOKEN }} - - name: Build and push mainline/alpine (Linux s390x - IBM System Z Based) - uses: docker/build-push-action@v5 - with: - context: ./ - file: mainline-alpine.Dockerfile - platforms: linux/s390x - push: true - tags: docker.io/denji/nginx-libressl:mainline-s390x-alpine - cache-from: type=registry,ref=docker.io/denji/nginx-libressl:mainline-s390x-alpine - cache-to: type=inline - - name: Build and push stable/alpine (Linux s390x - IBM System Z Based) - uses: docker/build-push-action@v5 - with: - context: ./ - file: stable-alpine.Dockerfile - platforms: linux/s390x - push: true - tags: docker.io/denji/nginx-libressl:stable-s390x-alpine - cache-from: type=registry,ref=docker.io/denji/nginx-libressl:stable-s390x-alpine - cache-to: type=inline - build-ppc64le: + #build-qemu-s390x: + # runs-on: ubuntu-latest + # steps: + # - name: Check Out Repo + # uses: actions/checkout@v4 + # - name: Set up QEMU + # uses: docker/setup-qemu-action@v3 + # - name: Set up Docker Buildx + # uses: docker/setup-buildx-action@v3 + # - name: Login to DockerHub + # uses: docker/login-action@v3 + # with: + # username: ${{ secrets.DOCKERHUB_USERNAME }} + # password: ${{ secrets.DOCKERHUB_TOKEN }} + # - name: Build and push mainline/alpine (Linux s390x - IBM System Z Based) + # uses: docker/build-push-action@v5 + # with: + # context: ./ + # file: mainline-alpine.Dockerfile + # platforms: linux/s390x + # push: true + # tags: docker.io/denji/nginx-libressl:mainline-s390x-alpine + # cache-from: type=registry,ref=docker.io/denji/nginx-libressl:mainline-s390x-alpine + # cache-to: type=inline + # - name: Build and push stable/alpine (Linux s390x - IBM System Z Based) + # uses: docker/build-push-action@v5 + # with: + # context: ./ + # file: stable-alpine.Dockerfile + # platforms: linux/s390x + # push: true + # tags: docker.io/denji/nginx-libressl:stable-s390x-alpine + # cache-from: type=registry,ref=docker.io/denji/nginx-libressl:stable-s390x-alpine + # cache-to: type=inline + build-qemu-ppc64le: runs-on: ubuntu-latest steps: - name: Check Out Repo diff --git a/README.md b/README.md index e3d266a..fc25b22 100755 --- a/README.md +++ b/README.md @@ -4,11 +4,21 @@ [![](https://img.shields.io/docker/automated/denji/nginx-libressl.svg)](https://hub.docker.com/r/denji/nginx-libressl/builds/) [![](https://img.shields.io/docker/pulls/denji/nginx-libressl.svg)](https://hub.docker.com/r/denji/nginx-libressl/) [![](https://img.shields.io/docker/stars/denji/nginx-libressl.svg)](https://hub.docker.com/r/denji/nginx-libressl/) -#### Build +[![Docker Image CI](https://github.com/nginx-modules/docker-nginx-libressl/actions/workflows/docker-image.yml/badge.svg)](https://github.com/nginx-modules/docker-nginx-libressl/actions/workflows/docker-image.yml) -[![](https://images.microbadger.com/badges/version/denji/nginx-libressl:stable-alpine.svg)](https://microbadger.com/images/denji/nginx-libressl:stable-alpine "denji/nginx-libressl:stable-alpine") [![](https://images.microbadger.com/badges/image/denji/nginx-libressl:stable-alpine.svg)](https://microbadger.com/images/denji/nginx-libressl:stable-alpine "denji/nginx-libressl:stable-alpine") +### Supported tags and respective `Dockerfile` links -[![](https://images.microbadger.com/badges/version/denji/nginx-libressl:mainline-alpine.svg)](https://microbadger.com/images/denji/nginx-libressl:mainline-alpine "nginx-libressl:mainline-alpine") [![](https://images.microbadger.com/badges/image/denji/nginx-libressl:mainline-alpine.svg)](https://microbadger.com/images/denji/nginx-libressl:mainline-alpine "nginx-libressl:mainline-alpine") +* Stable Release + - `docker.io/denji/nginx-libressl:stable-alpine` - (Linux x86_64-v4) + - `docker.io/denji/nginx-libressl:stable-aarch64-alpine` - (Linux AArch64 - ARMv8) + - `docker.io/denji/nginx-libressl:stable-armv7-alpine` - (Linux ARMv7 - 32-bit) + - `docker.io/denji/nginx-libressl:stable-ppc64le-alpine` - (Linux ppc64le - 64-bit PowerPC little-endian) + +* Mainline Release + - `docker.io/denji/nginx-libressl:mainline-alpine` - (Linux x86_64-v4) + - `docker.io/denji/nginx-libressl:mainline-aarch64-alpine` - (Linux AArch64 - ARMv8) + - `docker.io/denji/nginx-libressl:mainline-armv7-alpine` - (Linux ARMv7 - 32-bit) + - `docker.io/denji/nginx-libressl:mainline-ppc64le-alpine` - (Linux ppc64le - 64-bit PowerPC little-endian) #### Features