golang-base-image/.drone.yml

25 lines
443 B
YAML
Raw Normal View History

2020-08-15 16:36:55 +00:00
---
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}"
2020-08-15 16:47:15 +00:00
username: otakukaze
password:
from_secret: password
build_args:
- "IMG_TAG=${DRONE_BRANCH}"
2020-08-15 16:36:55 +00:00
when:
ref:
- refs/heads/1-alpine