summaryrefslogtreecommitdiff
path: root/tests/playbooks/publish.yml
blob: 9a019fac937933c8e25ddc8bca49d37a387e4840 (plain)
1
2
3
4
5
6
7
8
---
- hosts: all
  tasks:
    - name: Login to Dockerhub
      command: "docker login -u {{ kolla_dockerhub_creds.user }} -p {{ kolla_dockerhub_creds.password }}"
      no_log: true

    - shell: "for img in $(docker images  --format '{% raw %}{{ .Repository }}:{{ .Tag }}{% endraw %}' | grep kolla ); do docker push $img; done"