CD: Add arm64 build
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
nemunaire 2021-09-15 18:00:59 +02:00
parent 41d405ec08
commit 6fb7986a7a

View File

@ -30,7 +30,47 @@ steps:
GOARM: 7
- name: publish
image: plugins/docker:linux-arm
image: plugins/docker
settings:
repo: nemunaire/atsebay.t
auto_tag: true
auto_tag_suffix: ${DRONE_STAGE_OS}-${DRONE_STAGE_ARCH}
username:
from_secret: docker_username
password:
from_secret: docker_password
---
kind: pipeline
type: docker
name: build-arm64
platform:
os: linux
arch: arm64
steps:
- name: generate frontend
image: golang:alpine
commands:
- apk --no-cache add go-bindata
- go generate -v
- name: vet
image: golang:alpine
commands:
- apk --no-cache add build-base
- go vet -v
- name: backend
image: golang:alpine
commands:
- apk --no-cache add build-base
- go get -v
- go build -v
- name: publish
image: plugins/docker
settings:
repo: nemunaire/atsebay.t
auto_tag: true
@ -64,3 +104,4 @@ trigger:
depends_on:
- build-arm
- build-arm64