-
Notifications
You must be signed in to change notification settings - Fork 105
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
Modernize Buildah sample build strategy #1001
Modernize Buildah sample build strategy #1001
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/approve
/lgtm
@@ -17,49 +17,158 @@ spec: | |||
- | | |||
set -euo pipefail | |||
|
|||
echo "Creating registries config file..." | |||
# Parse parameters |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
not asking as part of this PR, but I'm curious what would happen if you extracted the bash from this file, put it in a .sh file, and ran shellcheck
against it
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I had to do this because it failed as I had too much "
s at one place. :-) But yeah, I further extended it after this. Would somehow be nice to get the inline script validated.
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: gabemontero The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
Changes
I am changing the recently added registry configuration related parameters to arrays. I am adding build-arg support. I am using registries-insecure to also define whether tlsVerify on push should be set to false. And I am writing error details when the context dir or the Dockerfile do not exist.
Fixes #988
Submitter Checklist
Release Notes