Skip to content

Commit

Permalink
expose some vars as build args
Browse files Browse the repository at this point in the history
Signed-off-by: Sebastian Webber <[email protected]>
  • Loading branch information
sebastianwebber committed Oct 30, 2024
1 parent be1e136 commit b62163c
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit b62163c

Please sign in to comment.