Skip to content
This repository has been archived by the owner on Nov 7, 2019. It is now read-only.

Commit

Permalink
ci: added a cloudbuild file for branches
Browse files Browse the repository at this point in the history
  • Loading branch information
Nathan Zylbersztejn committed Jun 12, 2019
1 parent 57ef14d commit 58792ef
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 3 deletions.
3 changes: 0 additions & 3 deletions build_image.sh

This file was deleted.

9 changes: 9 additions & 0 deletions cloudbuild-branch.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
steps:
- name: 'gcr.io/cloud-builders/docker'
args: [ "build",
"-t", "botfront/botfront-api:branch-$BRANCH_NAME",
"."]
- name: 'gcr.io/cloud-builders/docker'
args: [ "login", "-u", "$_DOCKER_LOGIN", "-p", "$_DOCKER_PASSWORD"]
- name: 'gcr.io/cloud-builders/docker'
args: [ "push", "botfront/botfront-api:branch-$BRANCH_NAME"]

0 comments on commit 58792ef

Please sign in to comment.