Initial commit
continuous-integration/drone Build is failing Details

Signed-off-by: Olivier 'reivilibre <olivier@librepush.net>
This commit is contained in:
Olivier 'reivilibre' 2021-08-06 21:20:06 +01:00
commit b8e9e26e89
2 changed files with 33 additions and 0 deletions

24
.drone.yml Normal file
View File

@ -0,0 +1,24 @@
kind: pipeline
type: docker
name: default
platform:
os: linux
arch: arm64
steps:
- name: build
image: golang:1.14.4-alpine3.12
commands:
- sh build.sh
- name: docker
image: plugins/docker
settings:
username:
from_secret: DOCKER_REGISTRY_USERNAME
password:
from_secret: DOCKER_REGISTRY_PASSWORD
repo: docker.bics.ga/reivilibre/drone-cache
registry: docker.bics.ga
tags: # TODO add more tags if we need them.
- latest

9
build.sh Normal file
View File

@ -0,0 +1,9 @@
#!/bin/sh
set -eu
rm -r drone-cache || :
git clone https://github.com/meltwater/drone-cache.git
cd drone-cache
git switch -c thisrelease v1.1.0
go build