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

Build and release multi arch framework images #2024

Merged
merged 3 commits into from
Nov 24, 2023

Conversation

mauromorales
Copy link
Member

@mauromorales mauromorales commented Nov 24, 2023

currently we only release amd64 framework images. Making them multi arch allows us to take advantage of the pre-built frameworks in arm. this will be particularly useful for the extraction of the earthly logic into dockerfiles related to #1897

@mauromorales mauromorales self-assigned this Nov 24, 2023
@mauromorales mauromorales requested a review from a team November 24, 2023 13:21
Signed-off-by: Mauro Morales <mauro.morales@spectrocloud.com>
Earthfile Show resolved Hide resolved
COPY +version/VERSION ./
ARG VERSION=$(cat VERSION)

ARG _IMG="$IMAGE_REPOSITORY_ORG/framework:${VERSION}_${FRAMEWORK_FLAVOR}"
IF [ "$VERSION" ~= ".*dirty.*" ]
ARG FRAMEWORK_VERSION=master
Copy link
Contributor

Choose a reason for hiding this comment

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

we will probably revisit this when we start this: #1975 but shouldn't we let the caller pass the version down? Matching dirty feels...well, dirty :D

Feel free to ignore for now, this will change on the #1975 anyway.

Copy link
Member Author

Choose a reason for hiding this comment

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

yeah right now I thought there would be only 2 options, master or a release tag ... but indeed lets evaluate if there's a better way to do it

@mauromorales mauromorales merged commit e4918ba into master Nov 24, 2023
33 of 34 checks passed
@mauromorales mauromorales deleted the multi-arch-framework-images branch November 24, 2023 19:07
@Itxaka
Copy link
Member

Itxaka commented Nov 27, 2023

late to this, but pretty cool @mauromorales !

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

3 participants