Compare commits

..

2 Commits

Author SHA1 Message Date
5d2945a145
add drone build
Some checks failed
continuous-integration/drone/push Build is failing
2020-11-27 17:07:14 -08:00
f2059ad480
trim down platforms 2020-11-27 17:06:49 -08:00
2 changed files with 51 additions and 1 deletions

48
.drone.yml Normal file
View File

@ -0,0 +1,48 @@
kind: pipeline
type: docker
name: default
steps:
- name: make
image: docker:dind
environment:
USERNAME:
from_secret: docker_username
PASSWORD:
from_secret: docker_password
REGISTRY:
from_secret: docker_registry
volumes:
- name: dockersock
path: /var/run
commands:
- sleep 5 # give docker enough time to start
- docker login -u $USERNAME -p $PASSWORD $REGISTRY
- make manifest-list
- name: notify
image: plugins/matrix
when:
status:
- success
- failure
settings:
homeserver:
from_secret: matrix-homeserver
roomid:
from_secret: matrix-room-id
userid:
from_secret: matrix-user-id
accesstoken:
from_secret: matrix-access-token
services:
- name: docker
image: docker:dind
privileged: true
volumes:
- name: dockersock
path: /var/run
volumes:
- name: dockersock
temp: {}

View File

@ -38,7 +38,9 @@ SHELL := sh
SRC_DIRS := cmd pkg # directories which hold app source (not vendored)
# Windows not working atm
ALL_PLATFORMS := linux/amd64 linux/arm linux/arm64 linux/ppc64le linux/s390x
#ALL_PLATFORMS := linux/amd64 linux/arm linux/arm64 linux/ppc64le linux/s390x
# Unlikely I'll run on ppc or s390x anytime soon
ALL_PLATFORMS := linux/amd64 linux/arm linux/arm64
# Used internally. Users should pass GOOS and/or GOARCH.
# hacked this to at least guess if go isn't installed on the host