Draft: Resolve "Create Pipeline for building Atlantis image"
General MR
Summary
Adds the build and promotion of Docker images in the pipeline.
Stages:
- build (only on change to files)
- Triggers:
- change to
dockerfiles/bb-ci
- change to
dockerfiles/cypress
- change to
- Pushes to
bigbang-staging
withIMAGE_NAME:
IMAGE_VERSION-beta
- Triggers:
- promote
- Triggers:
if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH
- Pushes to
bigbang-ci
withIMAGE_NAME:
IMAGE_VERSION
- Triggers:
Uses kaniko and crane to build and promote.
Request adding to Dockerfile the label version
so we can use it for image tag.
LABEL version="2.11.0"
Relevant logs/screenshots
https://repo1.dso.mil/big-bang/pipeline-templates/package-validation/-/pipelines/2412345
TODOs
- error handling around missing
LABEL version
- existing image/tags.
Closes #156