Skip to content

Commit

Permalink
chore(nightly build): Adds clouddriver-tagged.yaml for nightly builds (
Browse files Browse the repository at this point in the history
  • Loading branch information
Travis Tomsu committed Jul 10, 2017
1 parent 02e17ea commit 46aa790
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions cloudbuild-tagged.yaml
@@ -0,0 +1,14 @@
steps:
- name: 'java:8'
env: ["GRADLE_USER_HOME=cache"]
entrypoint: "bash"
args: [ "-c", "./gradlew build -PskipTests"]
- name: 'gcr.io/cloud-builders/docker'
args: ["build",
"-t", "gcr.io/$PROJECT_ID/$REPO_NAME:$COMMIT_SHA",
"-t", "gcr.io/$PROJECT_ID/$REPO_NAME:$TAG_NAME",
"-f", "Dockerfile.slim",
"."]
images:
- 'gcr.io/$PROJECT_ID/$REPO_NAME:$COMMIT_SHA'
- 'gcr.io/$PROJECT_ID/$REPO_NAME:$TAG_NAME'

0 comments on commit 46aa790

Please sign in to comment.