-
Notifications
You must be signed in to change notification settings - Fork 17
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
Cross Platform docker-buildx target does not work #48
Comments
@rooftopcellist: The label(s) In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
Thanks for creating this issue @rooftopcellist ! Would you be interested in creating a PR with the fix? |
Sure thing, here's the PR @everettraven |
Bug Report
Currently, there are two separate issues with the
make docker-buildx
target in the Makefile that the ansible-operator-sdk lays down.Problem 1
The
test
target does not exist, so it immediately fails because of this.Problem 2
The sed command to add a line to a temporary Dockerfile.cross file for specifying BUILDPLATFORM is not needed, and actually causes issues. See this comment for more details:
I think that the diff here should be added to the examples in the ansible-operator-plugins repo.
Please let me know your thoughts, I'm happy to chat more!
What did you expect to see?
The make docker-buildx command fails immediately because the
test
target does not exist.Additionally, once this part is fixed, the arches specified in the PLATFORMS env variable are not honored.
What did you see instead? Under which circumstances?
Environment
Operator type:
Ansible Operatore
Kubernetes cluster type:
Any
$ operator-sdk version
$ operator-sdk version
operator-sdk version: "v1.22.0", commit: "9e95050a94577d1f4ecbaeb6c2755a9d2c231289", kubernetes version: "1.24.1", go version: "go1.18.3", GOOS: "linux", GOARCH: "amd64"
$ kubectl version
Possible Solution
Described above
Additional context
Context in this PR for the EDA Server Operator:
The text was updated successfully, but these errors were encountered: