forked from GoogleContainerTools/kaniko
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add cloudbuild yaml for tagged releases
- Loading branch information
Priya Wadhwa
committed
May 16, 2018
1 parent
347d835
commit 92213ba
Showing
2 changed files
with
12 additions
and
0 deletions.
There are no files selected for viewing
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
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.