mirror of
https://github.com/fosrl/newt.git
synced 2026-05-18 14:19:53 +00:00
Add workflow to build patched image to ghcr.io/rinseaid/newt:patched
This commit is contained in:
34
.github/workflows/build-patched.yml
vendored
Normal file
34
.github/workflows/build-patched.yml
vendored
Normal file
@@ -0,0 +1,34 @@
|
|||||||
|
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
|
||||||
Reference in New Issue
Block a user