mirror of https://github.com/knative/client.git
Use ko's strict mode for better errors messages (#706)
This commit is contained in:
parent
9b1e8e149c
commit
1cbb94e2cc
|
@ -12,4 +12,4 @@
|
|||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
|
||||
image: knative.dev/client/cmd/kn
|
||||
image: ko://knative.dev/client/cmd/kn
|
||||
|
|
|
@ -36,7 +36,7 @@ function build_release() {
|
|||
echo "🚧 🎠 Building for Windows"
|
||||
GOOS=windows GOARCH=amd64 go build -mod=vendor -ldflags "${ld_flags}" -o ./kn-windows-amd64.exe ./cmd/...
|
||||
echo "🚧 🐳 Building the container image"
|
||||
ko resolve ${KO_FLAGS} -f config/ > kn-image-location.yaml
|
||||
ko resolve --strict ${KO_FLAGS} -f config/ > kn-image-location.yaml
|
||||
ARTIFACTS_TO_PUBLISH="kn-darwin-amd64 kn-linux-amd64 kn-windows-amd64.exe kn-image-location.yaml"
|
||||
if type sha256sum >/dev/null 2>&1; then
|
||||
echo "🧮 Checksum:"
|
||||
|
|
Loading…
Reference in New Issue