Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use kaniko to run builds for go 1.11 #148

Merged
merged 2 commits into from
Oct 3, 2018

Conversation

imjasonh
Copy link
Contributor

@imjasonh imjasonh commented Oct 3, 2018

kaniko builds container images from a Dockerfile, and enables future improvements to speed up builds by using the image registry as a layer cache (GoogleContainerTools/kaniko#300)

The kaniko builder image is referenced by digest to avoid potential bad kaniko releases, and the tag is included so humans reading the config know what kaniko version is used.

args: ['build', '-t', '$_OUTPUT_IMAGE', '.']
images:
- '$_OUTPUT_IMAGE'
- name: 'gcr.io/kaniko-project/executor:v0.4.0@sha256:0bbaa4859eec9796d32ab45e6c1627562dbc7796e40450295b9604cd3f4197af'
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Google Cloud Build (by Google Cloud Build) doesn't like the fancy tag/digest syntax.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fixed. I'll fix GCB too but I won't block this PR on it.

GCB doesn't like it (for now).
@dlorenc dlorenc merged commit f5399b4 into GoogleCloudPlatform:master Oct 3, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants