Skip to content

Commit

Permalink
Add cloudbuild yaml for tagged releases
Browse files Browse the repository at this point in the history
  • Loading branch information
Priya Wadhwa committed May 16, 2018
1 parent 347d835 commit 92213ba
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions deploy/cloudbuild-release.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
# This cloudbuild is run on the creation of new tags, which should signify releases.
steps:
# First, build kaniko
- name: "gcr.io/cloud-builders/docker"
args: ["build", "-f", "deploy/Dockerfile",
"-t", "gcr.io/kaniko-project/executor:$TAG_NAME", "."]
# Then, we want to build kaniko:debug
- name: "gcr.io/cloud-builders/docker"
args: ["build", "-f", "deploy/Dockerfile_debug",
"-t", "gcr.io/kaniko-project/executor:debug-$TAG_NAME", "."]
images: ["gcr.io/kaniko-project/executor:$TAG_NAME",
"gcr.io/kaniko-project/executor:debug-$TAG_NAME"]
File renamed without changes.

0 comments on commit 92213ba

Please sign in to comment.