Resolve "Create Pipeline for building Atlantis image"
General MR
Summary
Changes requested:
- Multiple Creds for same Registry URL: we have 2 different credentials for registry1.dso.mil/bigbang-staging vs registry1dso.mil/bigbang-ci. Since crane cannot support 2 different creds for the same registry URL, we need to:
- set creds
- crane pull
- set creds
- crane push
- Convert
docker.yamlto be used withextends. For Pipeline Templates CI/CD, we have 2, and more in future, containers to build in the same pipeline. -
DOCKER_TAGmay not always match Git Tag as the pipeline will be tagged with 2 different containers each with there own version. - I had to use our BB Kaniko (
registry1.dso.mil/bigbang-ci/kaniko-project/executor:v1.9.0-debug) image as I had permission issues with IB version - Kaniko does not have
dockerbinary to be used for login so changed it to useechoto output the authorization for the registry.
Issue
Resolves https://repo1.dso.mil/big-bang/pipeline-templates/pipeline-templates/-/issues/156
Edited by Jared Ladner