-
Notifications
You must be signed in to change notification settings - Fork 7
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
add missed indentation for docker-build #26
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.
lgtm
.github/workflows/pr-tests.yaml
Outdated
@@ -48,4 +48,4 @@ docker-build: | |||
with: | |||
go-version: "1.20" | |||
- name: Build Network Policy Controller images | |||
run: make docker-buildx | |||
run: PLATFORMS=linux/amd64 make docker-buildx |
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.
We will have to set like this - https://github.com/aws/aws-network-policy-agent/blob/main/Makefile#L182
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.
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.
We set the flag to single platform due to an upstream issue with buildx and build flag --load
. We may workaround the issue with a single platform when build individual image. We may also try not to use the flag. Since this is action to test building, I keep it as our official building process which builds the image from individual platforms with --load
.
The upstream issue is still open as docker/buildx#59
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.
lgtm
What type of PR is this?
Which issue does this PR fix:
We seem missing an indentation in job.
What does this PR do / Why do we need it:
Adding the missed indentation.
If an issue # is not available please add steps to reproduce and the controller logs:
Testing done on this change:
Automation added to e2e:
Will this PR introduce any new dependencies?:
Will this break upgrades or downgrades. Has updating a running cluster been tested?:
Does this PR introduce any user-facing change?:
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.