Skip to content

Instantly share code, notes, and snippets.

@chumaknadya
Last active October 29, 2018 10:27
Show Gist options
  • Save chumaknadya/f8ef76653d9fbe4f5ebc2dcd922d62bc to your computer and use it in GitHub Desktop.
Save chumaknadya/f8ef76653d9fbe4f5ebc2dcd922d62bc to your computer and use it in GitHub Desktop.
IMAGE := git.paymium.fr:5001/blockchain.io/bcio-react:$(VERSION)
.PHONY: setup-apps build push
setup-apps:
@rm -rf packages/playground
git clone https://git.paymium.fr/blockchain.io/bcio-react.git packages/playground
build: setup-apps
@echo '> Building image...'
docker build --build-arg NPM_TOKEN=$(NPM_TOKEN) -t $(IMAGE) .
push: build
@echo '> Pushing image...'
gcloud docker -- push $(IMAGE)
deploy: push
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment