golang-base-image/.drone.yml
Jay 6276e01435
All checks were successful
continuous-integration/drone/push Build is passing
change ci config
2020-08-16 00:47:15 +08:00

25 lines
443 B
YAML

---
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}"
username: otakukaze
password:
from_secret: password
build_args:
- "IMG_TAG=${DRONE_BRANCH}"
when:
ref:
- refs/heads/1-alpine