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
|
- name: docker
|
||||||
image: plugins/docker
|
image: plugins/docker
|
||||||
settings:
|
settings:
|
||||||
|
registry:
|
||||||
|
from_secret: REGISTRY_NAME
|
||||||
username:
|
username:
|
||||||
from_secret: DOCKER_USERNAME
|
from_secret: REGISTRY_USER
|
||||||
password:
|
password:
|
||||||
from_secret: DOCKER_PASSWORD
|
from_secret: REGISTRY_PASS
|
||||||
repo: aaronriedel/ansible-lint
|
repo: ${REGISTRY_NAME}/aaron/ansible-lint
|
||||||
tags:
|
tags:
|
||||||
- latest
|
- latest
|
||||||
- ${DRONE_BUILD_NUMBER}
|
- ${DRONE_BUILD_NUMBER}
|
||||||
|
@ -18,11 +20,13 @@ steps:
|
||||||
- name: docker-build
|
- name: docker-build
|
||||||
image: plugins/docker
|
image: plugins/docker
|
||||||
settings:
|
settings:
|
||||||
|
registry:
|
||||||
|
from_secret: REGISTRY_NAME
|
||||||
username:
|
username:
|
||||||
from_secret: DOCKER_USERNAME
|
from_secret: REGISTRY_USER
|
||||||
password:
|
password:
|
||||||
from_secret: DOCKER_PASSWORD
|
from_secret: REGISTRY_PASS
|
||||||
repo: aaronriedel/ansible-lint
|
repo: ${REGISTRY_NAME}/aaron/ansible-lint
|
||||||
tags: latest
|
tags: latest
|
||||||
dry_run: true
|
dry_run: true
|
||||||
when:
|
when:
|
||||||
|
|
Loading…
Reference in a new issue