diff --git a/Makefile b/Makefile index a48501d1..6bf9494a 100644 --- a/Makefile +++ b/Makefile @@ -26,7 +26,7 @@ PUSH_IMAGE ?= false # use this variable for image labels added in internal build process LABEL ?= org.airshipit.build=community DISTRO ?= ubuntu_jammy -DISTRO_ALIAS ?= ubuntu_focal +DISTRO_ALIAS ?= ubuntu_jammy COMMIT ?= $(shell git rev-parse HEAD) IMAGE := ${DOCKER_REGISTRY}/${IMAGE_PREFIX}/${IMAGE_NAME}:${IMAGE_TAG}-${DISTRO} IMAGE_ALIAS := ${DOCKER_REGISTRY}/${IMAGE_PREFIX}/${IMAGE_NAME}:${IMAGE_TAG}-${DISTRO_ALIAS} @@ -90,10 +90,12 @@ else endif ifneq ($(DISTRO), $(DISTRO_ALIAS)) docker tag $(IMAGE) $(IMAGE_ALIAS) +ifeq ($(DOCKER_REGISTRY), localhost:5000) + docker push $(IMAGE_ALIAS) +endif endif ifeq ($(DOCKER_REGISTRY), localhost:5000) docker push $(IMAGE) - docker push $(IMAGE_ALIAS) endif ifeq ($(PUSH_IMAGE), true) docker push $(IMAGE) diff --git a/tools/gate/playbooks/prepare-hosts.yaml b/tools/gate/playbooks/prepare-hosts.yaml index 76087fde..e7e3d9c9 100644 --- a/tools/gate/playbooks/prepare-hosts.yaml +++ b/tools/gate/playbooks/prepare-hosts.yaml @@ -15,7 +15,4 @@ roles: - bindep - start-zuul-console - - role: add-authorized-keys - public_keys: - - public_key: ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABgQDA7eM8WFJrqQmki8rR0O3QBHyl8xq42jb1RduwuRwjWoGYJI5cX7Fx+7VR4A9ITCoiqxKS8DMfgKbt5jKC6SmvMALULZsnYlthB34KywurgxsW6fgp68DHWQ7J4CCBhoIpl0W3JW7s6b0vHLhab59r0E+AYemBVuWUqbFEy8nDAHcQv1S/2o1udhmljIN7c2ogO4KAJ7Lge0BoIP9ps4u6AVwyQZixp4anU9DHGNA/UQj4M5UyuALj5buEAuATBe9Vqj4sOvZjObPJAGPUrNRrGEWAFk+lSZHRzKXo0eeWtPqoh5UN9UDb5Pocg1krncMIZwjHKovlD1z/O1y91aY5LM1wxm/7aaIiX8eCihyVZaOuDCLF7WDT2SMs7ABcotX2MDtVQTrNNV3MmMAScFNDflzPKszd7cdjLl6PBq8bvPxmCkLmnitPTGOoh9d8i+JlbINvgx1pguYrpeciIyreCO1rjTW3MgB0tyoMEa31V+7HrauBMeNnE68YTqLTIB0= smarkin@mirantis.com ...