buildx/hack/update-vendor

17 lines
289 B
Plaintext
Raw Normal View History

#!/usr/bin/env bash
. $(dirname $0)/util
set -eu
output=$(mktemp -d -t buildx-output.XXXXXXXXXX)
buildxCmd build \
--target "update" \
--output "type=local,dest=$output" \
--file "./hack/dockerfiles/vendor.Dockerfile" \
.
rm -rf ./vendor
cp -R "$output"/out/* .
rm -rf $output