From 92c632657f54ab80763a035b58d7a955357161ef Mon Sep 17 00:00:00 2001 From: CrazyMax Date: Thu, 13 Jul 2023 15:25:09 +0200 Subject: [PATCH] ci(ld): output artifacts Signed-off-by: CrazyMax --- .github/workflows/ld.yml | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/.github/workflows/ld.yml b/.github/workflows/ld.yml index 77a54e1..08d165b 100644 --- a/.github/workflows/ld.yml +++ b/.github/workflows/ld.yml @@ -17,6 +17,10 @@ on: paths: - 'src/ld/**' +env: + # needs latest for output platform-split support + BUILDKIT_IMAGE: "moby/buildkit:latest" + jobs: binutils-targets: runs-on: ubuntu-latest @@ -101,6 +105,8 @@ jobs: - name: Set up Docker Buildx uses: docker/setup-buildx-action@v2 + with: + driver-opts: image=${{ env.BUILDKIT_IMAGE }} - name: Build uses: docker/bake-action@v2 @@ -109,6 +115,11 @@ jobs: set: | *.cache-from=type=gha,scope=${{ matrix.target }} *.cache-to=type=gha,scope=${{ matrix.target }} + *.output=type=local,dest=./dist,platform-split=false + - + name: List artifacts + run: | + tree -nh ./dist ld-targets: runs-on: ubuntu-latest @@ -147,6 +158,8 @@ jobs: - name: Set up Docker Buildx uses: docker/setup-buildx-action@v2 + with: + driver-opts: image=${{ env.BUILDKIT_IMAGE }} - name: Build uses: docker/bake-action@v2 @@ -155,3 +168,8 @@ jobs: set: | *.cache-from=type=gha,scope=${{ matrix.target }} *.cache-to=type=gha,scope=${{ matrix.target }} + *.output=type=local,dest=./dist,platform-split=false + - + name: List artifacts + run: | + tree -nh ./dist