Remove ubuntu_focal as image alias
Change-Id: I7f899607f8b21596d5fead3036766829322adb5e
This commit is contained in:
parent
95256a89a5
commit
dc275f7e2a
6
Makefile
6
Makefile
@ -35,7 +35,7 @@ AIRFLOW_SRC ?=
|
|||||||
AIRFLOW_HOME ?=
|
AIRFLOW_HOME ?=
|
||||||
DISTRO_BASE_IMAGE ?=
|
DISTRO_BASE_IMAGE ?=
|
||||||
DISTRO ?= ubuntu_jammy
|
DISTRO ?= ubuntu_jammy
|
||||||
DISTRO_ALIAS ?= ubuntu_focal
|
DISTRO_ALIAS ?= ubuntu_jammy
|
||||||
|
|
||||||
IMAGE:=${DOCKER_REGISTRY}/${IMAGE_PREFIX}/$(IMAGE_NAME):${IMAGE_TAG}-${DISTRO}
|
IMAGE:=${DOCKER_REGISTRY}/${IMAGE_PREFIX}/$(IMAGE_NAME):${IMAGE_TAG}-${DISTRO}
|
||||||
IMAGE_ALIAS := ${DOCKER_REGISTRY}/${IMAGE_PREFIX}/${IMAGE_NAME}:${IMAGE_TAG}-${DISTRO_ALIAS}
|
IMAGE_ALIAS := ${DOCKER_REGISTRY}/${IMAGE_PREFIX}/${IMAGE_NAME}:${IMAGE_TAG}-${DISTRO_ALIAS}
|
||||||
@ -141,10 +141,12 @@ else
|
|||||||
endif
|
endif
|
||||||
ifneq ($(DISTRO), $(DISTRO_ALIAS))
|
ifneq ($(DISTRO), $(DISTRO_ALIAS))
|
||||||
docker tag $(IMAGE) $(IMAGE_ALIAS)
|
docker tag $(IMAGE) $(IMAGE_ALIAS)
|
||||||
|
ifeq ($(DOCKER_REGISTRY), localhost:5000)
|
||||||
|
docker push $(IMAGE_ALIAS)
|
||||||
|
endif
|
||||||
endif
|
endif
|
||||||
ifeq ($(DOCKER_REGISTRY), localhost:5000)
|
ifeq ($(DOCKER_REGISTRY), localhost:5000)
|
||||||
docker push $(IMAGE)
|
docker push $(IMAGE)
|
||||||
docker push $(IMAGE_ALIAS)
|
|
||||||
endif
|
endif
|
||||||
ifeq ($(PUSH_IMAGE), true)
|
ifeq ($(PUSH_IMAGE), true)
|
||||||
docker push $(IMAGE)
|
docker push $(IMAGE)
|
||||||
|
@ -15,7 +15,4 @@
|
|||||||
roles:
|
roles:
|
||||||
- bindep
|
- bindep
|
||||||
- start-zuul-console
|
- 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
|
|
||||||
...
|
...
|
||||||
|
Loading…
Reference in New Issue
Block a user