From 43bb2002e0e05dfa9f65e76789e8f4b97b788797 Mon Sep 17 00:00:00 2001 From: Barry d'Hoine Date: Sat, 23 Nov 2024 00:30:01 +0100 Subject: [PATCH] Add build args --- .github/workflows/build.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index f60c746..957dafe 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -62,6 +62,9 @@ jobs: platforms: linux/amd64 # TODO: for multi platform use: linux/amd64,linux/arm64 labels: ${{ steps.meta.outputs.labels }} + build-args: | + RUNMODE=${{ matrix.runmode }} + PORT=${{ matrix.runmode == 'author' && '4502' || '4503' }} - name: Generate artifact attestation uses: actions/attest-build-provenance@v1 with: