Compare commits
1 Commits
229c2d535e
...
f00aad15c5
Author | SHA1 | Date | |
---|---|---|---|
f00aad15c5 |
@ -1,10 +1,16 @@
|
|||||||
---
|
---
|
||||||
- hosts: docker
|
- hosts: docker
|
||||||
tasks:
|
tasks:
|
||||||
|
- name: registry login
|
||||||
|
docker_login:
|
||||||
|
username: "{{ registry_login }}"
|
||||||
|
password: "{{ registry_password }}"
|
||||||
|
|
||||||
- name: deploy draft
|
- name: deploy draft
|
||||||
docker_container:
|
docker_container:
|
||||||
name: "bouquins_draft_{{ draft_name }}"
|
name: "bouquins_draft_{{ draft_name }}"
|
||||||
image: "reg.meutel.net/go-bouquins:{{ draft_name }}"
|
image: "reg.meutel.net/go-bouquins:{{ draft_name }}"
|
||||||
|
pull: yes
|
||||||
state: started
|
state: started
|
||||||
recreate: yes
|
recreate: yes
|
||||||
labels:
|
labels:
|
||||||
|
@ -56,6 +56,11 @@ steps:
|
|||||||
|
|
||||||
- name: deploy-branch
|
- name: deploy-branch
|
||||||
image: plugins/ansible:1
|
image: plugins/ansible:1
|
||||||
|
environment:
|
||||||
|
registry_login:
|
||||||
|
from_secret: registry_login
|
||||||
|
registry_password:
|
||||||
|
from_secret: registry_password
|
||||||
settings:
|
settings:
|
||||||
playbook: .ansible/deploy-draft.yml
|
playbook: .ansible/deploy-draft.yml
|
||||||
inventory: .ansible/inventory
|
inventory: .ansible/inventory
|
||||||
@ -74,6 +79,6 @@ trigger:
|
|||||||
|
|
||||||
---
|
---
|
||||||
kind: signature
|
kind: signature
|
||||||
hmac: 6d31a8c73df2a63f6f04334ebf20ad9c7e4a992acb15097b1f887433748f0fd7
|
hmac: 954a9dbf92147a4d7dce6805ef54ce3dd381450d97b8676de39bb5be51c963cf
|
||||||
|
|
||||||
...
|
...
|
||||||
|
Loading…
Reference in New Issue
Block a user