mirror of
https://github.com/fosrl/newt.git
synced 2026-05-14 12:19:53 +00:00
35 lines
723 B
YAML
35 lines
723 B
YAML
name: Build patched image
|
|
|
|
on:
|
|
push:
|
|
branches: [fix/x-forwarded-proto-tls]
|
|
workflow_dispatch:
|
|
|
|
permissions:
|
|
contents: read
|
|
packages: write
|
|
|
|
jobs:
|
|
build:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
|
|
- uses: docker/setup-qemu-action@v3
|
|
|
|
- uses: docker/setup-buildx-action@v3
|
|
|
|
- uses: docker/login-action@v3
|
|
with:
|
|
registry: ghcr.io
|
|
username: ${{ github.actor }}
|
|
password: ${{ secrets.GITHUB_TOKEN }}
|
|
|
|
- uses: docker/build-push-action@v6
|
|
with:
|
|
context: .
|
|
push: true
|
|
platforms: linux/amd64,linux/arm64
|
|
build-args: VERSION=patched
|
|
tags: ghcr.io/rinseaid/newt:patched
|