mirror of
https://github.com/GoogleContainerTools/kaniko
synced 2026-10-17 23:57:35 +02:00
Add cloudbuild yaml for tagged releases
This commit is contained in:
@@ -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"]
|
||||
Reference in New Issue
Block a user