Skip to content

Commit

Permalink
fix(ci): remove useless make-rules
Browse files Browse the repository at this point in the history
  • Loading branch information
rancher-sy-bot authored and Jason-ZW committed Apr 3, 2021
1 parent 99c3f83 commit 41ea90e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 9 deletions.
6 changes: 3 additions & 3 deletions hack/lib/docker.sh
Original file line number Diff line number Diff line change
Expand Up @@ -36,9 +36,9 @@ function autok3s::docker::login() {

function autok3s::docker::prebuild() {
docker run --rm --privileged multiarch/qemu-user-static --reset -p yes i
DOCKER_CLI_EXPERIMENTAL=enabled docker buildx create --name multibuilder
DOCKER_CLI_EXPERIMENTAL=enabled docker buildx inspect multibuilder --bootstrap
DOCKER_CLI_EXPERIMENTAL=enabled docker buildx use multibuilder
DOCKER_CLI_EXPERIMENTAL=enabled docker buildx create --name multi-builder
DOCKER_CLI_EXPERIMENTAL=enabled docker buildx inspect multi-builder --bootstrap
DOCKER_CLI_EXPERIMENTAL=enabled docker buildx use multi-builder
}

function autok3s::docker::build() {
Expand Down
6 changes: 0 additions & 6 deletions hack/make-rules/autok3s.sh
Original file line number Diff line number Diff line change
Expand Up @@ -149,12 +149,6 @@ function package() {
local platforms
if [[ "${CROSS:-false}" == "true" ]]; then
autok3s::log::info "crossed packaging"
local QEMU_ARCHS="arm aarch64"

for i in ${QEMU_ARCHS}; do
curl -fsSL https://github.com/multiarch/qemu-user-static/releases/download/v3.1.0-2/qemu-${i}-static.tar.gz | tar zxvf - -C /usr/bin;
done
chmod +x /usr/bin/qemu-*
autok3s::docker::prebuild
platforms=("${SUPPORTED_PLATFORMS[@]}")
else
Expand Down

0 comments on commit 41ea90e

Please sign in to comment.