Fix drone builds building wrong arm64 images
This commit is contained in:
parent
0e44c6e2cf
commit
7af52c54b1
@ -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
|
||||
|
2
Makefile
2
Makefile
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user