File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 4040 set -euxo pipefail
4141 mkdir -p "${PLATFORM}"
4242 docker run --rm --platform "${PLATFORM}" \
43- -v "$(pwd)/${PLATFORM}:/work " \
43+ -v "$(pwd)/${PLATFORM}:/mnt " \
4444 -v "$(pwd)/setup-arch.sh:/setup-arch.sh" \
45- --privileged alpine /setup-arch.sh /work aarch64
45+ --privileged alpine /setup-arch.sh
4646
4747 - name : Prepare rootfs (armv7h)
4848 env :
5151 set -euxo pipefail
5252 mkdir -p "${PLATFORM}"
5353 docker run --rm --platform "${PLATFORM}" \
54- -v "$(pwd)/${PLATFORM}:/work " \
54+ -v "$(pwd)/${PLATFORM}:/mnt " \
5555 -v "$(pwd)/setup-arch.sh:/setup-arch.sh" \
56- --privileged alpine /setup-arch.sh /work armv7h
56+ --privileged alpine /setup-arch.sh
5757
5858 - name : Build and push multi-arch image
5959 env :
Original file line number Diff line number Diff line change 33set -exuo pipefail
44
55GPG_KEY_ID=" 77193F152BDBE6A6"
6- MOUNTPOINT=" $1 "
7- ARCHITECTURE=" ${2:- \$ arch} "
6+ MOUNTPOINT=" /mnt"
7+ ARCHITECTURE=" ${1:- \$ arch} "
8+ shift
89
910apk update
1011apk add --no-cache arch-install-scripts
You can’t perform that action at this time.
0 commit comments