-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Bumps pipeline from 1.37.5 to 1.37.5. Signed-off-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
- Loading branch information
1 parent
0a77785
commit a5eab4f
Showing
2 changed files
with
11 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -13,6 +13,8 @@ | |
# limitations under the License. | ||
|
||
bin/ | ||
linux/ | ||
dependencies/ | ||
package/ | ||
scratch/ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,19 @@ | ||
#!/usr/bin/env bash | ||
|
||
set -euo pipefail | ||
|
||
GOOS="linux" go build -ldflags='-s -w' -o bin/helper github.com/paketo-buildpacks/libjvm/cmd/helper | ||
GOOS="linux" go build -ldflags='-s -w' -o bin/main github.com/paketo-buildpacks/eclipse-openj9/v9/cmd/main | ||
GOMOD=$(head -1 go.mod | awk '{print $2}') | ||
GOOS="linux" go build -ldflags='-s -w' -o linux/amd64/bin/main "$GOMOD/cmd/main" | ||
GOOS="linux" GOARCH="arm64" go build -ldflags='-s -w' -o linux/arm64/bin/main "$GOMOD/cmd/main" | ||
|
||
if [ "${STRIP:-false}" != "false" ]; then | ||
strip bin/helper bin/main | ||
strip linux/amd64/bin/main linux/arm64/bin/main | ||
fi | ||
|
||
if [ "${COMPRESS:-none}" != "none" ]; then | ||
$COMPRESS bin/helper bin/main | ||
$COMPRESS linux/amd64/bin/main linux/arm64/bin/main | ||
fi | ||
|
||
ln -fs main bin/build | ||
ln -fs main bin/detect | ||
ln -fs main linux/amd64/bin/build | ||
ln -fs main linux/arm64/bin/build | ||
ln -fs main linux/amd64/bin/detect | ||
ln -fs main linux/arm64/bin/detect |