Skip to content

Commit

Permalink
s390x incompatible architecture
Browse files Browse the repository at this point in the history
  • Loading branch information
denji committed Feb 24, 2024
1 parent 0c6ce1f commit e582076
Show file tree
Hide file tree
Showing 2 changed files with 53 additions and 41 deletions.
78 changes: 40 additions & 38 deletions .github/workflows/docker-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ name: Docker Image CI
on:
push:
branches: [ main ]
paths-ignore:
- 'README.md'

jobs:
build-host-amd64v4:
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down
16 changes: 13 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit e582076

Please sign in to comment.