diff --git a/.github/workflows/build-patched.yml b/.github/workflows/build-patched.yml new file mode 100644 index 0000000..bd6d330 --- /dev/null +++ b/.github/workflows/build-patched.yml @@ -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