Skip to content

Commit

Permalink
Fix container image publish to Docker Hub
Browse files Browse the repository at this point in the history
Publishing container images to Docker Hub was failing with:

    state is present but all of the following are missing: source

This is caused by the recent Ansible upgrade by Zuul [1]: the source
parameter is mandatory since Ansible 2.12.

[1] https://review.opendev.org/c/openstack/project-config/+/849120

Change-Id: I232fe835f5a650c258243f1ee4720480f2e6e7b1
(cherry picked from commit 2da76f7)
  • Loading branch information
priteau committed Jul 25, 2022
1 parent 62d7ef9 commit 7fac7e7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tests/playbooks/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
docker_image:
name: "{{ item.RepoTags.0 }}"
push: yes
source: local
loop: "{{ docker_host_info.images }}"
when: kolla_registry == 'dockerhub'

Expand Down

0 comments on commit 7fac7e7

Please sign in to comment.