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

fix(cd): Add new cd steps with buildx for lambda arm/amd images #37

Merged
merged 5 commits into from
Dec 8, 2022

Conversation

adityasadalage
Copy link
Contributor

Problem

Arm support needs lambda image to be updated for both architectures

Solution

Update Lambda cd steps to use buildx for both images to be tagged together

Copy link
Contributor

@skrdgraph skrdgraph left a comment

Choose a reason for hiding this comment

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

go can be removed

@adityasadalage
Copy link
Contributor Author

go can be removed

Done

@adityasadalage adityasadalage reopened this Dec 8, 2022
@skrdgraph skrdgraph self-requested a review December 8, 2022 00:45
Copy link
Contributor

@skrdgraph skrdgraph left a comment

Choose a reason for hiding this comment

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

looks good now 👍

run: |
docker buildx create --name builder --driver docker-container
docker buildx use builder
docker buildx build -t dgraph/dgraph-lambda:1.4.0 --push --platform=linux/arm64,linux/amd64 .
Copy link
Contributor

Choose a reason for hiding this comment

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

1.4.0 -> change to env variable

Copy link
Contributor

@skrdgraph skrdgraph left a comment

Choose a reason for hiding this comment

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

fix version reference

Copy link
Contributor

@skrdgraph skrdgraph left a comment

Choose a reason for hiding this comment

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

looks good 👍

Copy link

@joshua-goldstein joshua-goldstein left a comment

Choose a reason for hiding this comment

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

Looks good 👍

@adityasadalage adityasadalage merged commit d031126 into main Dec 8, 2022
@adityasadalage adityasadalage deleted the adityasadalage/update-cd-steps-for-arm-support branch December 8, 2022 00:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

3 participants