Add dockerhub pipeline
continuous-integration/drone/push Build is failing
Details
continuous-integration/drone/push Build is failing
Details
parent
7ea0fc0f01
commit
bbe5659668
24
.drone.yml
24
.drone.yml
|
@ -2,14 +2,16 @@ kind: pipeline
|
|||
name: default
|
||||
|
||||
steps:
|
||||
- name: docker
|
||||
image: plugins/docker
|
||||
settings:
|
||||
registry: registry.makerforce.io
|
||||
repo: registry.makerforce.io/pwd/caddy
|
||||
tags:
|
||||
- latest
|
||||
username:
|
||||
from_secret: docker_username
|
||||
password:
|
||||
from_secret: docker_password
|
||||
- name: dockerhub
|
||||
image: hairyhenderson/dockerfiles-builder:latest
|
||||
commands:
|
||||
- bashbrew build caddy
|
||||
- echo $PASSWORD | docker login --username $USERNAME --password-stdin
|
||||
- bashbrew push productionwentdown/caddy
|
||||
environment:
|
||||
BASHBREW_LIBRARY: ./library
|
||||
BASHBREW_NAMESPACE: caddy
|
||||
USERNAME:
|
||||
from_secret: dockerhub_username
|
||||
PASSWORD:
|
||||
from_secret: dockerhub_token
|
||||
|
|
Loading…
Reference in New Issue