From b62163ca6eb47f5a3c91b688739cd07b07cc204c Mon Sep 17 00:00:00 2001 From: Sebastian Webber Date: Wed, 30 Oct 2024 16:35:38 -0300 Subject: [PATCH] expose some vars as build args Signed-off-by: Sebastian Webber --- .github/workflows/build.yaml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index 4eac169..01e1ea4 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -125,14 +125,13 @@ jobs: platforms: linux/${{ matrix.platform }} labels: ${{ steps.meta.outputs.labels }} outputs: type=image,name=${{ inputs.registry }},push-by-digest=true,name-canonical=true,push=true - + build-args: "GOOS=linux,GOARCH=${{ matrix.platform }},BPF_TARGET=${{ matrix.platform }}" - name: Export digest run: | mkdir -p /tmp/digests rm -rf /tmp/digests/* digest="${{ steps.build.outputs.digest }}" - touch "/tmp/digests/${digest#sha256:}" - + touch "/tmp/digests/${digest#sha256:}" - name: Upload digest uses: actions/upload-artifact@v4 with: