Browse Source

Fix drone builds building wrong arm64 images

tags/v1.0.1
IamTheFij 1 month ago
parent
commit
7af52c54b1
2 changed files with 4 additions and 4 deletions
  1. 3
    3
      .drone.yml
  2. 1
    1
      Makefile

+ 3
- 3
.drone.yml 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

+ 1
- 1
Makefile 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:

Loading…
Cancel
Save