Allow compose boxes to push to the docker registries
Signed-off-by: Clement Verna <cverna@tutanota.com>
This commit is contained in:
parent
d247e2a398
commit
782351e202
1 changed files with 9 additions and 2 deletions
|
@ -60,12 +60,19 @@
|
|||
key_src: "{{private}}/files/docker-registry/{{env}}/docker-registry-internal.key",
|
||||
when: env == "staging"
|
||||
}
|
||||
- {
|
||||
role: push-docker,
|
||||
candidate_registry: "candidate-registry.fedoraproject.org",
|
||||
candidate_registry_osbs_username: "{{candidate_registry_osbs_prod_username}}",
|
||||
candidate_registry_osbs_password: "{{candidate_registry_osbs_prod_password}}",
|
||||
when: env == "production"
|
||||
}
|
||||
- {
|
||||
role: "manage-container-images",
|
||||
cert_dest_dir: "/etc/docker/certs.d/candidate-registry.stg.fedoraproject.org",
|
||||
cert_dest_dir: "/etc/docker/certs.d/registry.fedoraproject.org",
|
||||
cert_src: "{{private}}/files/docker-registry/{{env}}/docker-registry-internal.pem",
|
||||
key_src: "{{private}}/files/docker-registry/{{env}}/docker-registry-internal.key",
|
||||
when: env == "staging"
|
||||
when: env == "production"
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue