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.
 
 
 
 
 

25 lines
980 B

- hosts: all
tasks:
- include_vars: container-builder-vars.yaml
- name: Log into DockerHub
docker_login:
username: "{{ magnum_docker_login.user }}"
password: "{{ magnum_docker_login.password }}"
- name: Push images to DockerHub
block:
- command: docker push {{ magnum_repository }}/{{ item.name }}:{{ item.tag }}
with_items: "{{ magnum_images }}"
retries: 10
- command: docker push {{ magnum_repository }}/{{ item[1].name }}:{{ item[0].version }}
with_nested:
- "{{ kubernetes_versions }}"
- "{{ kubernetes_images }}"
retries: 10
- command: docker push {{ magnum_repository }}/helm-client:{{ item.version }}
with_items: "{{ helm_versions }}"
retries: 10
- command: docker push {{ magnum_repository }}/cluster-autoscaler:v{{ item.version }}
with_items: "{{ cluster_autoscaler_versions }}"
retries: 10