Skip to content

Add end-to-end 'all' component

We should add a docker/all component that configures an end-to-end pipeline including build, container_scanning, and docker_push_* jobs in one go, something like this:

stages:
  - build
  - test
  - deploy

include:
  # build/scan/push
  - component: $CI_SERVER_FQDN/computing/gitlab/components/docker/all@main
    inputs:
      # only deploy things from the upstream project
      upstream_project_path: "docker/diskcache"
      # compare container_scanning results of new images to this one
      default_image_name: "docker/diskcache:latest"
      # deploy (push and trigger) from tags
      deploy_when: tags
      # push to this repository on dockerhub
      docker_io_repository: igwn/diskcache
Edited by Duncan Macleod