Skip to content

Instantly share code, notes, and snippets.

@sideshowbandana
Created January 30, 2019 07:21
Show Gist options
  • Select an option

  • Save sideshowbandana/3a900a2f57d9fc51c27a59563627e656 to your computer and use it in GitHub Desktop.

Select an option

Save sideshowbandana/3a900a2f57d9fc51c27a59563627e656 to your computer and use it in GitHub Desktop.
build:
<<: *deploy_image
environment:
- IMAGE: "MY_IMAGE_NAME"
steps:
- setup_remote_docker
- checkout
- run:
name: Build
command: |
echo 'export DOCKER_BUILD_ARGS="--build-arg GITHUB_TOKEN=$GITHUB_TOKEN"' >> $BASH_ENV
source $BASH_ENV
make build
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment