Skip to content

Instantly share code, notes, and snippets.

@waiyanwh
Created August 3, 2019 16:00
Show Gist options
  • Save waiyanwh/92c3f3656b01cdb09a4bca30f810b5db to your computer and use it in GitHub Desktop.
Save waiyanwh/92c3f3656b01cdb09a4bca30f810b5db to your computer and use it in GitHub Desktop.
image: docker:git
services:
- docker:19.03.0-dind
variables:
DOCKER_HOST: tcp://docker:2375/
DOCKER_DRIVER: overlay2
DOCKER_TLS_CERTDIR: ""
stages:
- Build
docker_build:
stage: Build
script:
- docker build -t $CI_REGISTRY_IMAGE/staging:$CI_COMMIT_SHA .
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment