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

ci: drop linux/arm/v7 from the platforms for building container-images #720

Merged
merged 1 commit into from
Nov 28, 2024

Conversation

nixpanic
Copy link
Collaborator

@nixpanic nixpanic commented Nov 28, 2024

There is not need for secrets.BUILD_PLATFORMS, as the platforms are
not confidential. Instead a variable has been created in the GitHub
repository settings for it now.

The secrets.BUILD_PLATFORMS includes linux/arm/v7, which is a slow and
phased out architecture. All reasonable ARM platforms are linux/arm64
now. Dropping the linux/arm/v7 platform makes building the container
images much faster.

Closes: #719

@iPraveenParihar
Copy link
Member

iPraveenParihar commented Nov 28, 2024

LGTM!
@nixpanic, can we update BUILD_PLATFORMS list here?

- `BUILD_PLATFORMS`: `linux/amd64,linux/arm64,linux/arm/v7`

Madhu-1
Madhu-1 previously approved these changes Nov 28, 2024
@mergify mergify bot dismissed Madhu-1’s stale review November 28, 2024 09:11

Pull request has been modified.

@nixpanic nixpanic requested a review from Madhu-1 November 28, 2024 09:12
@nixpanic
Copy link
Collaborator Author

LGTM! @nixpanic, can we update BUILD_PLATFORMS list here?

- `BUILD_PLATFORMS`: `linux/amd64,linux/arm64,linux/arm/v7`

Done!

There is not need for `secrets.BUILD_PLATFORMS`, as the platforms are
not confidential. Instead a variable has been created in the GitHub
repository settings for it now.

The `secrets.BUILD_PLATFORMS` includes linux/arm/v7, which is a slow and
phased out architecture. All reasonable ARM platforms are linux/arm64
now. Dropping the linux/arm/v7 platform makes building the container
images much faster.

Closes: csi-addons#719
Signed-off-by: Niels de Vos <ndevos@ibm.com>
Copy link
Member

@iPraveenParihar iPraveenParihar left a comment

Choose a reason for hiding this comment

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

LGTM

@mergify mergify bot merged commit 60f22e1 into csi-addons:main Nov 28, 2024
15 checks passed
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.

use docker cache to build images
3 participants