first version
continuous-integration/drone/push Build is failing
Details
continuous-integration/drone/push Build is failing
Details
This commit is contained in:
commit
a8fe9322ab
|
@ -0,0 +1,19 @@
|
||||||
|
---
|
||||||
|
kind: pipeline
|
||||||
|
type: docker
|
||||||
|
name: default
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- name: build docker image
|
||||||
|
image: plugins/docker
|
||||||
|
environment:
|
||||||
|
DOCKER_BUILDKIT: '1'
|
||||||
|
settings:
|
||||||
|
purge: true
|
||||||
|
repo: otakukaze/golang-base-image
|
||||||
|
tags:
|
||||||
|
- "${DRONE_BRANCH}"
|
||||||
|
when:
|
||||||
|
ref:
|
||||||
|
- refs/heads/1-alpine
|
||||||
|
|
|
@ -0,0 +1,5 @@
|
||||||
|
ARG IMG_TAG=1-alpine
|
||||||
|
FROM golang:${IMG_TAG}
|
||||||
|
RUN apk add --no-cache git make gcc libc-dev \
|
||||||
|
&& go get -u github.com/go-bindata/go-bindata/... \
|
||||||
|
&& go get -u github.com/go-swagger/go-swagger/...
|
Loading…
Reference in New Issue