pushes a latest tag to registry
Hello
Actual behavior When kaniko build the image it's pushes a latest tag to registry. but in my configuration there is not push latest tag.
--dockerfile "$CI_PROJECT_DIR/Dockerfile"
--destination "${REGISTRY}/${CI_PROJECT_NAMESPACE}/${CI_PROJECT_NAME}:${CI_COMMIT_TAG}"
--destination "${REGISTRY}/${CI_PROJECT_NAMESPACE}/${CI_PROJECT_NAME}:${CI_COMMIT_REF_SLUG}_${CI_COMMIT_SHORT_SHA}"
Thanks for filing the issue @chanyshev . Would you mind adding some more details to the issue i.e. steps to reproduce, the version of kaniko image and the args you used running kaniko 🙏
@JeromeJu I see where this is taking place and would be happy to submit a PR for this. Do you have any suggestions on what the community would prefer/handle this instead of:
DefaultTag = "latest"
My two cents on this would be to keep it as latest as it's a consistent naming convention for a tag. If there is the need to not have latest tag, I wouldn't mind hearing the rationale.