Let's try to fix this again
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
5f161ae51b
commit
8e76fcee4a
@ -38,7 +38,7 @@ steps:
|
|||||||
from_secret: docker_password
|
from_secret: docker_password
|
||||||
build_args:
|
build_args:
|
||||||
- ARCH=arm
|
- ARCH=arm
|
||||||
- REPO=arm32v6
|
- REPO=arm32v7
|
||||||
when:
|
when:
|
||||||
branch:
|
branch:
|
||||||
- master
|
- master
|
||||||
|
@ -8,8 +8,8 @@ FROM ${REPO}/python:3-alpine
|
|||||||
|
|
||||||
# Copy mutliarch file to run builds on x86_64
|
# Copy mutliarch file to run builds on x86_64
|
||||||
ARG ARCH=x86_64
|
ARG ARCH=x86_64
|
||||||
COPY --from=qemu-user-static /usr/bin/qemu-* /usr/bin/
|
# COPY --from=qemu-user-static /usr/bin/qemu-* /usr/bin/
|
||||||
# COPY --from=qemu-user-static /usr/bin/qemu-${ARCH}-* /usr/bin/
|
COPY --from=qemu-user-static /usr/bin/qemu-${ARCH}-* /usr/bin/
|
||||||
|
|
||||||
RUN mkdir -p /src
|
RUN mkdir -p /src
|
||||||
WORKDIR /src
|
WORKDIR /src
|
||||||
|
2
Makefile
2
Makefile
@ -14,7 +14,7 @@ build:
|
|||||||
|
|
||||||
.PHONY: cross-build-arm
|
.PHONY: cross-build-arm
|
||||||
cross-build-arm:
|
cross-build-arm:
|
||||||
docker build --build-arg REPO=arm32v6 --build-arg ARCH=arm . -t ${DOCKER_TAG}-linux-arm
|
docker build --build-arg REPO=arm32v7 --build-arg ARCH=arm . -t ${DOCKER_TAG}-linux-arm
|
||||||
|
|
||||||
.PHONY: cross-build-arm64
|
.PHONY: cross-build-arm64
|
||||||
cross-build-arm64:
|
cross-build-arm64:
|
||||||
|
Loading…
Reference in New Issue
Block a user