Fix drone builds building wrong arm64 images

This commit is contained in:
IamTheFij 2019-08-14 10:19:20 -07:00
parent 0e44c6e2cf
commit 7af52c54b1
2 changed files with 4 additions and 4 deletions

View File

@ -26,7 +26,7 @@ steps:
- name: build
image: golang:1.12
commands:
- make build-all-static
- make build-linux-static
- name: push image - arm
image: plugins/docker
@ -53,8 +53,8 @@ steps:
password:
from_secret: docker_password
build_args:
- ARCH=arm
- REPO=arm32v6
- ARCH=arm64
- REPO=arm64v8
- name: push image - amd64
image: plugins/docker

View File

@ -68,7 +68,7 @@ docker-build:
# Cross build for arm architechtures
.PHONY: docker-cross-build-arm
docker-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: docker-cross-build-arm
docker-cross-build-arm64: