cypress-docker-images icon indicating copy to clipboard operation
cypress-docker-images copied to clipboard

Docker images does not have moving tags

Open aleksandr-vin opened this issue 3 years ago • 2 comments

In CI/CD tags with only major and/or major.minor version numbers would be really helpful

aleksandr-vin avatar Feb 11 '22 14:02 aleksandr-vin

:+1: for this RFE.

To provide some background here is our use case that would benefit from that.

We use .nvmrc files in pour projects and automatically build docker images name from it's content. We have things like the following in our CI/CD (Jenkinsfile in our case)

insideDocker(dockerImageFromNVM()) {
   // here we should be in a docker container whose tag has been computed from nvmrc content
   // base image is by default node
   // supposing our .nvmrc contains `v16`
   // so something like "node:16"
}

but we also have usages like the following for webapps/libraries projects

insideDocker(dockerImageFromNVM(base: "cypress/base")) {
   // here we should be in a docker container whose tag has been computed from nvmrc content
   // base image here will be cypress/base
   // so something like "cypress/base:16"
}

Moving/floating tags would ease such use cases.

McFoggy avatar May 17 '22 10:05 McFoggy