diff --git a/.zuul.d/jobs.yaml b/.zuul.d/jobs.yaml index 288423b6..93f1a80a 100644 --- a/.zuul.d/jobs.yaml +++ b/.zuul.d/jobs.yaml @@ -170,7 +170,7 @@ pre-run: tests/with_container_images.yaml run: tests/zuul_publish_container_images.yaml vars: - destination: docker.io/recordsansible/ara-api + destination_repository: docker.io/recordsansible/ara-api secrets: - name: ara_registry_credentials secret: ara_dockerhub_credentials @@ -186,7 +186,7 @@ pre-run: tests/with_container_images.yaml run: tests/zuul_publish_container_images.yaml vars: - destination: quay.io/recordsansible/ara-api + destination_repository: quay.io/recordsansible/ara-api secrets: - name: ara_registry_credentials secret: ara_quayio_credentials diff --git a/tests/zuul_publish_container_images.yaml b/tests/zuul_publish_container_images.yaml index 3cb123b0..676e2764 100644 --- a/tests/zuul_publish_container_images.yaml +++ b/tests/zuul_publish_container_images.yaml @@ -15,11 +15,11 @@ # You should have received a copy of the GNU General Public License # along with ARA. If not, see . -- name: Publish container images to DockerHub +- name: Publish container images hosts: all gather_facts: yes vars: - destination: docker.io/recordsansible/ara-api + destination: "{{ destination_repository | default('docker.io/recordsansible/ara-api') }}" images: # These images are meant to be provided by the "with_container_images.yaml" playbook - name: localhost/ara-api