Skip to content

Instantly share code, notes, and snippets.

@mccv
Last active September 13, 2017 21:32
Show Gist options
  • Save mccv/cd5cd4e721a55f927375445dc1598aa5 to your computer and use it in GitHub Desktop.
Save mccv/cd5cd4e721a55f927375445dc1598aa5 to your computer and use it in GitHub Desktop.
CirceCI config sample (part 2)
# note: the docker image versions here are almost certainly out of date.
# See https://github.com/turbinelabs/circle-ci-integration/blob/master/.circleci/config.yml
push-dev-server:
docker:
- image: turbinelabs/gcloud-build:0.12.0
environment:
DEBIAN_FRONTEND: noninteractive
steps:
- checkout
- setup_remote_docker
- run: openrc boot
- run: docker build -t gcr.io/${GCLOUD_PROJECT_ID}/all-in-one-server:$CIRCLE_BRANCH server
- run: docker tag gcr.io/${GCLOUD_PROJECT_ID}/all-in-one-server:$CIRCLE_BRANCH gcr.io/${GCLOUD_PROJECT_ID}/all-in-one-server:la
- run: gcloud docker -- push gcr.io/${GCLOUD_PROJECT_ID}/all-in-one-server:$CIRCLE_BRANCH
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment