All checks were successful
CI / Build nginx docker images (push) Successful in 6m31s
63 lines
1.9 KiB
YAML
63 lines
1.9 KiB
YAML
name: CI
|
|
on:
|
|
push:
|
|
branches: [ master ]
|
|
paths:
|
|
- 'nginx/**'
|
|
- '.gitea/workflows/build-nginx.yaml'
|
|
jobs:
|
|
"Build nginx docker images":
|
|
runs-on: woryzen
|
|
steps:
|
|
-
|
|
name: Login to Gitea container registry
|
|
uses: docker/login-action@v3
|
|
with:
|
|
registry: gitea.woggioni.net
|
|
username: woggioni
|
|
password: ${{ secrets.PUBLISHER_TOKEN }}
|
|
-
|
|
name: Build and push nginx vanilla images
|
|
uses: docker/build-push-action@v6
|
|
with:
|
|
builder: multiplatform-builder
|
|
context: "{{defaultContext}}:nginx"
|
|
platforms: |
|
|
linux/amd64
|
|
linux/arm64
|
|
linux/arm/v7
|
|
push: true
|
|
pull: true
|
|
ssh: default=/home/luser/.ssh/id_ed25519
|
|
tags: |
|
|
"gitea.woggioni.net/woggioni/nginx:latest"
|
|
"gitea.woggioni.net/woggioni/nginx:v1.29.4"
|
|
secrets: |
|
|
GIT_AUTH_TOKEN.github.com=${{ secrets.GH_ACCESS_TOKEN }}
|
|
build-args: |
|
|
LIBRESSL_VERSION=4.2.1
|
|
NGINX_VERSION=1.29.4
|
|
NGINX_BRANCH=vanilla
|
|
-
|
|
name: Build and push nginx custom images
|
|
uses: docker/build-push-action@v6
|
|
with:
|
|
builder: multiplatform-builder
|
|
context: "{{defaultContext}}:nginx"
|
|
platforms: |
|
|
linux/amd64
|
|
linux/arm64
|
|
linux/arm/v7
|
|
push: true
|
|
pull: true
|
|
ssh: default=/home/luser/.ssh/id_ed25519
|
|
tags: |
|
|
"gitea.woggioni.net/woggioni/nginx:woggioni"
|
|
"gitea.woggioni.net/woggioni/nginx:v1.29.4-woggioni"
|
|
secrets: |
|
|
GIT_AUTH_TOKEN.github.com=${{ secrets.GH_ACCESS_TOKEN }}
|
|
build-args: |
|
|
LIBRESSL_VERSION=4.2.1
|
|
NGINX_VERSION=1.29.4
|
|
NGINX_BRANCH=woggioni
|