Removed stable build #2
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 GitHub Container Registry' | |
uses: docker/login-action@v1 | |
with: | |
registry: ghcr.io | |
username: ${{ github.actor }} | |
password: ${{ secrets.GITHUB_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: ghcr.io/ivanjx/nginx-boringssl:mainline-alpine | |
cache-from: type=registry,ref=ghcr.io/ivanjx/nginx-boringssl:mainline-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 GitHub Container Registry' | |
uses: docker/login-action@v1 | |
with: | |
registry: ghcr.io | |
username: ${{ github.actor }} | |
password: ${{ secrets.GITHUB_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: ghcr.io/ivanjx/nginx-boringssl:mainline-aarch64-alpine | |
cache-from: type=registry,ref=ghcr.io/ivanjx/nginx-boringssl:mainline-aarch64-alpine | |
cache-to: type=inline |