File tree Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -39,12 +39,15 @@ if [[ "$TAG" == "local" ]]; then
39
39
fi
40
40
fi
41
41
42
+ attestFlags=" $( buildAttestFlags) "
43
+
42
44
outputFlag=" --output=type=image,push=false"
43
45
if [ " $PUSH " = " push" ]; then
44
46
outputFlag=" --output=type=image,buildinfo-attrs=true,push=true"
45
47
fi
46
48
if [ -n " $localmode " ]; then
47
49
outputFlag=" --output=type=docker,buildinfo-attrs=true"
50
+ attestFlags=" "
48
51
fi
49
52
50
53
targetFlag=" "
@@ -88,5 +91,5 @@ for tagName in $tagNames; do
88
91
tagFlags=" $tagFlags --tag=$tagName "
89
92
done
90
93
91
- buildxCmd build $platformFlag $targetFlag $importCacheFlags $exportCacheFlags $tagFlags $outputFlag $( buildAttestFlags ) \
94
+ buildxCmd build $platformFlag $targetFlag $importCacheFlags $exportCacheFlags $tagFlags $outputFlag $attestFlags \
92
95
$currentcontext
You can’t perform that action at this time.
0 commit comments