Skip to content
Snippets Groups Projects
Verified Commit 58005e4f authored by Chris Coley's avatar Chris Coley
Browse files

Reorder image tagging so that newer versions are displayed first in Docker Hub

parent 9d24932b
Branches
No related tags found
No related merge requests found
......@@ -116,8 +116,10 @@ release:latest:
needs: ['test:latest']
script:
- crane tag ${CI_REGISTRY_IMAGE}:${CI_COMMIT_SHORT_SHA}-2.18 2.18
- crane tag ${CI_REGISTRY_IMAGE}:${CI_COMMIT_SHORT_SHA}-2.18 python3.8
- crane tag ${CI_REGISTRY_IMAGE}:${CI_COMMIT_SHORT_SHA}-2.18 latest
- crane copy ${CI_REGISTRY_IMAGE}:${CI_COMMIT_SHORT_SHA}-2.18 ${DOCKER_HUB_REPO}:2.18
- crane tag ${DOCKER_HUB_REPO}:2.18 python3.8
- crane tag ${DOCKER_HUB_REPO}:2.18 latest
release:python2.7:
......@@ -125,11 +127,11 @@ release:python2.7:
needs: ['test:python2.7']
script:
- crane tag ${CI_REGISTRY_IMAGE}:${CI_COMMIT_SHORT_SHA}-2.16 2.16
- crane tag ${CI_REGISTRY_IMAGE}:${CI_COMMIT_SHORT_SHA}-2.16 python3.6
- crane tag ${CI_REGISTRY_IMAGE}:${CI_COMMIT_SHORT_SHA}-2.16 python2.7
- crane tag ${CI_REGISTRY_IMAGE}:${CI_COMMIT_SHORT_SHA}-2.16 python3.6
- crane copy ${CI_REGISTRY_IMAGE}:${CI_COMMIT_SHORT_SHA}-2.16 ${DOCKER_HUB_REPO}:2.16
- crane tag ${DOCKER_HUB_REPO}:2.16 python3.6
- crane tag ${DOCKER_HUB_REPO}:2.16 python2.7
- crane tag ${DOCKER_HUB_REPO}:2.16 python3.6
release:2.10:
extends: .release
......
......
......@@ -6,8 +6,8 @@ This repo builds a Docker image containing Ansible and common dependencies for u
Images are tagged with the version of `ansible-core` included in the image. There are also `python<version>` tags if you need to support managed nodes running specific versions of Python.
- `2.18`, `latest`
- `2.16`, `python2.7`, `python3.6` EOL, but kept around for use with managed nodes that only support Python 2.7
- `2.18`, `python3.8`, `latest`
- `2.16`, `python2.7`, `python3.6` EOL, but kept around for use with managed nodes that only support Python 2.7 or Python 3.6
- `2.10` EOL, but kept around for playbooks that still only work with classic Ansible
- `2.9` EOL, but kept around for playbooks that still only work with classic Ansible
......
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment