Skip to content

Instantly share code, notes, and snippets.

@kwiss
Created February 29, 2020 14:22
Show Gist options
  • Save kwiss/a9de863031ee876f21c155225e00cfc2 to your computer and use it in GitHub Desktop.
Save kwiss/a9de863031ee876f21c155225e00cfc2 to your computer and use it in GitHub Desktop.
.base_docker_image_stage:
image: docker:19
services:
- docker:19-dind
.register_stage:
stage: "registration"
interruptible: true
dependencies: []
Register app image:
extends:
- .base_register_stage
- .register_stage
dependencies:
- Build @planetexpress/app
needs:
- Install app
- Build @planetexpress/app
before_script:
- cp yarn.lock packages/app/yarn.lock
variables:
CONTEXT: packages/app
IMAGE_NAME: $CI_REGISTRY_IMAGE/app
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment