This commit is contained in:
parent
81fc243ba8
commit
996ca486c4
18
.drone.yml
18
.drone.yml
@ -3,6 +3,21 @@ type: docker
|
||||
name: default
|
||||
|
||||
steps:
|
||||
- name: build
|
||||
image: plugins/docker
|
||||
settings:
|
||||
repo: sthopeless/my-nginx-website
|
||||
tags:
|
||||
- latest
|
||||
- ${DRONE_COMMIT_SHA}
|
||||
username:
|
||||
from_secret: docker_username
|
||||
password:
|
||||
from_secret: docker_password
|
||||
dockerfile: Dockerfile
|
||||
dry_run: true
|
||||
purge: true
|
||||
|
||||
- name: publish
|
||||
image: plugins/docker
|
||||
settings:
|
||||
@ -14,6 +29,9 @@ steps:
|
||||
from_secret: docker_username
|
||||
password:
|
||||
from_secret: docker_password
|
||||
dockerfile: Dockerfile
|
||||
dry_run: true
|
||||
purge: true
|
||||
when:
|
||||
event:
|
||||
- push
|
||||
|
Loading…
x
Reference in New Issue
Block a user