1
0
mirror of https://github.com/openshift/source-to-image.git synced 2026-02-05 12:44:54 +01:00

fix: Verify Builds Cross-Compiled Binaries

Update the `verify` Makefile target to build cross-compiled binaries.
This ensures the s2i CLI can be released across all supported platforms
at all times. Prevents future regressions of #1204.

Signed-off-by: Adam Kaplan <adam.kaplan@redhat.com>
This commit is contained in:
Adam Kaplan
2025-01-16 10:53:18 -05:00
parent 0e4fe06252
commit 658e4096d6

View File

@@ -30,11 +30,16 @@ all build:
build-container:
${CONTAINER_ENGINE} build -t localhost/source-to-image/s2i:${VERSION} .
# Build cross-compiled binaries.
build-cross:
hack/build-cross.sh
.PHONY: build-cross
# Verify if code is properly organized.
#
# Example:
# make verify
verify: build
verify: build-cross
hack/verify-gofmt.sh
hack/verify-deps.sh
hack/verify-bash-completion.sh