Container Infrastructure Management Service for OpenStack
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

15 lines
573 B

- hosts: all
tasks:
- include_vars: container-builder-vars.yaml
- name: Push images to DockerHub
block:
- command: docker login -u {{ magnum_docker_login.user }} -p {{ magnum_docker_login.password }}
no_log: True
retries: 5
- command: docker push {{ repository }}/{{ item.name }}:{{ item.tag }}
with_items: "{{ magnum_images }}"
retries: 10
- command: docker push {{ repository }}/{{ item.name }}:{{ kubernetes_version }}
with_items: "{{ kubernetes_images }}"
retries: 10