s390x/ppc64le incompatible architecture #20
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Docker Image CI | |
on: | |
push: | |
branches: [ main ] | |
paths-ignore: | |
- 'README.md' | |
jobs: | |
build-host-amd64v4: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Check Out Repo | |
uses: actions/checkout@v4 | |
- 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 x86_64-v4) | |
uses: docker/build-push-action@v5 | |
with: | |
context: ./ | |
file: mainline-alpine.Dockerfile | |
push: true | |
tags: docker.io/denji/nginx-boringssl:mainline-alpine | |
cache-from: type=registry,ref=docker.io/denji/nginx-boringssl:mainline-alpine | |
cache-to: type=inline | |
- name: Build and push stable/alpine (Linux x86_64-v4) | |
uses: docker/build-push-action@v5 | |
with: | |
context: ./ | |
file: stable-alpine.Dockerfile | |
push: true | |
tags: docker.io/denji/nginx-boringssl:stable-alpine | |
cache-from: type=registry,ref=docker.io/denji/nginx-boringssl:stable-alpine | |
cache-to: type=inline | |
build-qemu-arm64: | |
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 AArch64 - ARMv8) | |
uses: docker/build-push-action@v5 | |
with: | |
context: ./ | |
file: mainline-alpine.Dockerfile | |
platforms: linux/arm64 | |
push: true | |
tags: docker.io/denji/nginx-boringssl:mainline-aarch64-alpine | |
cache-from: type=registry,ref=docker.io/denji/nginx-boringssl:mainline-aarch64-alpine | |
cache-to: type=inline | |
- name: Build and push stable/alpine (Linux AArch64 - ARMv8) | |
uses: docker/build-push-action@v5 | |
with: | |
context: ./ | |
file: stable-alpine.Dockerfile | |
platforms: linux/arm64 | |
push: true | |
tags: docker.io/denji/nginx-boringssl:stable-aarch64-alpine | |
cache-from: type=registry,ref=docker.io/denji/nginx-boringssl:stable-aarch64-alpine | |
cache-to: type=inline | |
build-qemu-armv7: | |
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 ARMv7 - 32-bit) | |
uses: docker/build-push-action@v5 | |
with: | |
context: ./ | |
file: mainline-alpine.Dockerfile | |
platforms: linux/arm/v7 | |
push: true | |
tags: docker.io/denji/nginx-boringssl:mainline-armv7-alpine | |
cache-from: type=registry,ref=docker.io/denji/nginx-boringssl:mainline-armv7-alpine | |
cache-to: type=inline | |
- name: Build and push stable/alpine (Linux ARMv7 - 32-bit) | |
uses: docker/build-push-action@v5 | |
with: | |
context: ./ | |
file: stable-alpine.Dockerfile | |
platforms: linux/arm/v7 | |
push: true | |
tags: docker.io/denji/nginx-boringssl:stable-armv7-alpine | |
cache-from: type=registry,ref=docker.io/denji/nginx-boringssl:stable-armv7-alpine | |
cache-to: type=inline | |
#build-qemu-armhf: | |
# 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 armhf - 32-bit hard-float ABI ARMv6) | |
# uses: docker/build-push-action@v5 | |
# with: | |
# context: ./ | |
# file: mainline-alpine.Dockerfile | |
# platforms: linux/arm/v6 | |
# push: true | |
# tags: docker.io/denji/nginx-boringssl:mainline-armhf-alpine | |
# cache-from: type=registry,ref=docker.io/denji/nginx-boringssl:mainline-armhf-alpine | |
# cache-to: type=inline | |
# - name: Build and push stable/alpine (Linux armhf - 32-bit hard-float ABI ARMv6) | |
# uses: docker/build-push-action@v5 | |
# with: | |
# context: ./ | |
# file: stable-alpine.Dockerfile | |
# platforms: linux/arm/v6 | |
# push: true | |
# tags: docker.io/denji/nginx-boringssl:stable-armhf-alpine | |
# cache-from: type=registry,ref=docker.io/denji/nginx-boringssl:stable-armhf-alpine | |
# cache-to: type=inline | |
#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-boringssl:mainline-s390x-alpine | |
# cache-from: type=registry,ref=docker.io/denji/nginx-boringssl: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-boringssl:stable-s390x-alpine | |
# cache-from: type=registry,ref=docker.io/denji/nginx-boringssl:stable-s390x-alpine | |
# cache-to: type=inline | |
#build-qemu-ppc64le: | |
# 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 ppc64le - 64-bit PowerPC little-endian) | |
# uses: docker/build-push-action@v5 | |
# with: | |
# context: ./ | |
# file: mainline-alpine.Dockerfile | |
# platforms: linux/ppc64le | |
# push: true | |
# tags: docker.io/denji/nginx-boringssl:mainline-ppc64le-alpine | |
# cache-from: type=registry,ref=docker.io/denji/nginx-boringssl:mainline-ppc64le-alpine | |
# cache-to: type=inline | |
# - name: Build and push stable/alpine (Linux ppc64le - 64-bit PowerPC little-endian) | |
# uses: docker/build-push-action@v5 | |
# with: | |
# context: ./ | |
# file: stable-alpine.Dockerfile | |
# platforms: linux/ppc64le | |
# push: true | |
# tags: docker.io/denji/nginx-boringssl:stable-ppc64le-alpine | |
# cache-from: type=registry,ref=docker.io/denji/nginx-boringssl:stable-ppc64le-alpine | |
# cache-to: type=inline |