Fix drone builds building wrong arm64 images
This commit is contained in:
parent
0e44c6e2cf
commit
7af52c54b1
@ -26,7 +26,7 @@ steps:
|
|||||||
- name: build
|
- name: build
|
||||||
image: golang:1.12
|
image: golang:1.12
|
||||||
commands:
|
commands:
|
||||||
- make build-all-static
|
- make build-linux-static
|
||||||
|
|
||||||
- name: push image - arm
|
- name: push image - arm
|
||||||
image: plugins/docker
|
image: plugins/docker
|
||||||
@ -53,8 +53,8 @@ steps:
|
|||||||
password:
|
password:
|
||||||
from_secret: docker_password
|
from_secret: docker_password
|
||||||
build_args:
|
build_args:
|
||||||
- ARCH=arm
|
- ARCH=arm64
|
||||||
- REPO=arm32v6
|
- REPO=arm64v8
|
||||||
|
|
||||||
- name: push image - amd64
|
- name: push image - amd64
|
||||||
image: plugins/docker
|
image: plugins/docker
|
||||||
|
2
Makefile
2
Makefile
@ -68,7 +68,7 @@ docker-build:
|
|||||||
# Cross build for arm architechtures
|
# Cross build for arm architechtures
|
||||||
.PHONY: docker-cross-build-arm
|
.PHONY: docker-cross-build-arm
|
||||||
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
|
.PHONY: docker-cross-build-arm
|
||||||
docker-cross-build-arm64:
|
docker-cross-build-arm64:
|
||||||
|
Loading…
Reference in New Issue
Block a user