From 4c5e3945612b26927cfd8d500da128fb602522a4 Mon Sep 17 00:00:00 2001 From: CrazyMax <1951866+crazy-max@users.noreply.github.com> Date: Thu, 16 Jan 2025 18:54:00 +0100 Subject: [PATCH] ci: fix bake build Signed-off-by: CrazyMax <1951866+crazy-max@users.noreply.github.com> --- .github/workflows/build.yml | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 7178ada2b..0abd2b0a8 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -66,6 +66,11 @@ jobs: needs: - test steps: + - + name: Checkout + uses: actions/checkout@v4 + with: + fetch-depth: 0 - name: Docker meta id: meta @@ -115,6 +120,7 @@ jobs: name: Build artifacts uses: docker/bake-action@v6 with: + source: . targets: artifact-all - name: Rename provenance @@ -143,9 +149,10 @@ jobs: name: Build image uses: docker/bake-action@v6 with: + source: . files: | ./docker-bake.hcl - cwd://${{ steps.meta.outputs.bake-file }} + ${{ steps.meta.outputs.bake-file }} targets: image-all push: ${{ github.ref == 'refs/heads/main' || startsWith(github.ref, 'refs/tags/') }} -