protonmail-bridge/.drone.yml
Michael Gibson 64b3bc8e53
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/tag Build is passing
Moved build_args to settings.
2020-05-28 13:39:22 -05:00

44 lines
No EOL
819 B
YAML

---
kind: pipeline
type: docker
name: default
steps:
- name: build
image: plugins/docker
settings:
registry: registry.thegibsonhome.net
username:
from_secret: registry_username
password:
from_secret: registry_password
repo: registry.thegibsonhome.net/protonmail-bridge
tags:
- latest
trigger:
branch:
- master
event:
- push
---
kind: pipeline
type: docker
name: tag
steps:
- name: build
image: plugins/docker
settings:
registry: registry.thegibsonhome.net
username:
from_secret: registry_username
password:
from_secret: registry_password
repo: registry.thegibsonhome.net/protonmail-bridge
build_args:
- TAG=${DRONE_TAG}
tags: ${DRONE_TAG}
trigger:
event:
- tag