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

Publish Multi Arch images #1716

Merged
merged 1 commit into from
Dec 8, 2023

Conversation

tedhtchang
Copy link
Contributor

Why are these changes needed?

See #1630

Related issue number

Closes #1630

Checks

  • I've made sure the tests are passing.
  • Testing Strategy
    • Unit tests
    • Manual tests
    • This PR is not tested :(

Copy link
Contributor

@astefanutti astefanutti left a comment

Choose a reason for hiding this comment

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

LGTM

@kevin85421 kevin85421 self-assigned this Dec 6, 2023
@kevin85421 kevin85421 self-requested a review December 6, 2023 17:29
Copy link
Member

@kevin85421 kevin85421 left a comment

Choose a reason for hiding this comment

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

Greaaaaat! Just leave a minor comment. By the way, would you mind adding some instructions in DEVELOPMENT.md about how to build multi-arch images locally? Thanks!

docker image tag kuberay/operator:${{ steps.vars.outputs.sha_short }} quay.io/kuberay/operator:nightly;
docker push quay.io/kuberay/operator:nightly
if: contains(fromJson('["refs/heads/master"]'), github.ref)
CGO_ENABLED=1 GOOS=linux GOARCH=$GOARCH go build -tags strictfipsruntime -a -o manager-$GOARCH main.go
Copy link
Member

Choose a reason for hiding this comment

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

nit: Why do we use CGO_ENABLED=1 instead of CGO_ENABLED=$CGO_ENABLED?

context: ${{env.working-directory}}
file: ${{env.working-directory}}/Dockerfile.buildx
push: ${{env.PUSH}}
provenance: false
Copy link
Member

Choose a reason for hiding this comment

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

Copy link
Member

@kevin85421 kevin85421 left a comment

Choose a reason for hiding this comment

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

Thanks! Let's merge it and check whether it publishes the multi-arch images successfully or not.

@kevin85421 kevin85421 merged commit 56b4d14 into ray-project:master Dec 8, 2023
25 checks passed
@kevin85421
Copy link
Member

Nice!

Screen Shot 2023-12-08 at 9 33 04 AM

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.

[Feature] Publish multi-architecture container images
3 participants