This commit is contained in:
parent
36987ca446
commit
5fc1c081f9
1 changed files with 10 additions and 6 deletions
16
.drone.yml
16
.drone.yml
|
@ -4,11 +4,13 @@ steps:
|
|||
- name: docker
|
||||
image: plugins/docker
|
||||
settings:
|
||||
registry:
|
||||
from_secret: REGISTRY_NAME
|
||||
username:
|
||||
from_secret: DOCKER_USERNAME
|
||||
from_secret: REGISTRY_USER
|
||||
password:
|
||||
from_secret: DOCKER_PASSWORD
|
||||
repo: aaronriedel/ansible-lint
|
||||
from_secret: REGISTRY_PASS
|
||||
repo: ${REGISTRY_NAME}/aaron/ansible-lint
|
||||
tags:
|
||||
- latest
|
||||
- ${DRONE_BUILD_NUMBER}
|
||||
|
@ -18,11 +20,13 @@ steps:
|
|||
- name: docker-build
|
||||
image: plugins/docker
|
||||
settings:
|
||||
registry:
|
||||
from_secret: REGISTRY_NAME
|
||||
username:
|
||||
from_secret: DOCKER_USERNAME
|
||||
from_secret: REGISTRY_USER
|
||||
password:
|
||||
from_secret: DOCKER_PASSWORD
|
||||
repo: aaronriedel/ansible-lint
|
||||
from_secret: REGISTRY_PASS
|
||||
repo: ${REGISTRY_NAME}/aaron/ansible-lint
|
||||
tags: latest
|
||||
dry_run: true
|
||||
when:
|
||||
|
|
Loading…
Reference in a new issue