File tree 4 files changed +4
-4
lines changed
4 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 1
- 1.37.5
1
+ 1.38.0
Original file line number Diff line number Diff line change @@ -188,7 +188,7 @@ jobs:
188
188
else
189
189
pack -v buildpack package \
190
190
"${PACKAGE}:${VERSION}" ${CONFIG} \
191
- --format "${FORMAT}"
191
+ --format "${FORMAT}" $([ -n "$TTL_SH_PUBLISH" ] && [ "$TTL_SH_PUBLISH" = "true" ] && echo "--publish")
192
192
fi
193
193
env :
194
194
PACKAGES : docker.io/paketobuildpacks/syft gcr.io/paketo-buildpacks/syft
Original file line number Diff line number Diff line change @@ -173,7 +173,7 @@ jobs:
173
173
else
174
174
pack -v buildpack package \
175
175
"${PACKAGE}:${VERSION}" ${CONFIG} \
176
- --format "${FORMAT}"
176
+ --format "${FORMAT}" $([ -n "$TTL_SH_PUBLISH" ] && [ "$TTL_SH_PUBLISH" = "true" ] && echo "--publish")
177
177
fi
178
178
env :
179
179
FORMAT : image
Original file line number Diff line number Diff line change 2
2
set -euo pipefail
3
3
4
4
GOMOD=$( head -1 go.mod | awk ' {print $2}' )
5
- GOOS=" linux" go build -ldflags=' -s -w' -o linux/amd64/bin/main " $GOMOD /cmd/main"
5
+ GOOS=" linux" GOARCH= " amd64 " go build -ldflags=' -s -w' -o linux/amd64/bin/main " $GOMOD /cmd/main"
6
6
GOOS=" linux" GOARCH=" arm64" go build -ldflags=' -s -w' -o linux/arm64/bin/main " $GOMOD /cmd/main"
7
7
8
8
if [ " ${STRIP:- false} " != " false" ]; then
You can’t perform that action at this time.
0 commit comments