Browse code

ci(bin-image): fix bake build

Signed-off-by: CrazyMax <1951866+crazy-max@users.noreply.github.com>

CrazyMax authored on 2025/01/17 17:24:56
Showing 1 changed files
... ...
@@ -105,6 +105,11 @@ jobs:
105 105
         platform: ${{ fromJson(needs.prepare.outputs.platforms) }}
106 106
     steps:
107 107
       -
108
+        name: Checkout
109
+        uses: actions/checkout@v4
110
+        with:
111
+          fetch-depth: 0
112
+      -
108 113
         name: Prepare
109 114
         run: |
110 115
           platform=${{ matrix.platform }}
... ...
@@ -137,9 +142,10 @@ jobs:
137 137
         id: bake
138 138
         uses: docker/bake-action@v6
139 139
         with:
140
+          source: .
140 141
           files: |
141 142
             ./docker-bake.hcl
142
-            cwd:///tmp/bake-meta.json
143
+            /tmp/bake-meta.json
143 144
           targets: bin-image
144 145
           set: |
145 146
             *.platform=${{ matrix.platform }}