UNCLASSIFIED - NO CUI

Skip to content

Draft: Resolve "Create Pipeline for building Atlantis image"

Jared Ladner requested to merge 156-docker-image-build into master

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
    • Pushes to bigbang-staging with IMAGE_NAME:IMAGE_VERSION-beta
  • promote
    • Triggers:
      • if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH
    • Pushes to bigbang-ci with IMAGE_NAME:IMAGE_VERSION

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

Merge request reports

Loading