Last active
October 29, 2018 10:27
-
-
Save chumaknadya/f8ef76653d9fbe4f5ebc2dcd922d62bc to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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