File tree 1 file changed +6
-6
lines changed 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -157,28 +157,28 @@ jobs:
157
157
- name : Merge Metadata Bake Definitions
158
158
run : |
159
159
INPUT=(${{ steps.meta-k3d-binary.outputs.bake-file }} ${{ steps.meta-k3d-dind.outputs.bake-file }} ${{ steps.meta-k3d-proxy.outputs.bake-file }} ${{ steps.meta-k3d-tools.outputs.bake-file }})
160
- OUT_FILE=. /bake-metadata.json
161
- OUT_FILE_TMP=. /bake-metadata-tmp.json
162
-
160
+ OUT_FILE=$GITHUB_WORKSPACE /bake-metadata.json
161
+ OUT_FILE_TMP=$GITHUB_WORKSPACE /bake-metadata-tmp.json
162
+
163
163
cat << EOF > $OUT_FILE
164
164
{
165
165
" target " : {}
166
166
}
167
167
EOF
168
-
168
+
169
169
for file in "${INPUT[@]}"; do
170
170
cat $OUT_FILE > $OUT_FILE_TMP
171
171
jq -s '.[0] * .[1]' $OUT_FILE_TMP $file > $OUT_FILE
172
172
done
173
-
173
+
174
174
rm "$OUT_FILE_TMP"
175
175
# Build and Push container images
176
176
- name : Build Images
177
177
uses : docker/bake-action@v6
178
178
with :
179
179
files : |
180
180
./docker-bake.hcl
181
- . /bake-metadata.json
181
+ $GITHUB_WORKSPACE /bake-metadata.json
182
182
targets : release
183
183
push : false
184
184
# Wait for tests to pass and push images (ONLY ON TAG)
You can’t perform that action at this time.
0 commit comments