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 multiplatform compatibility #17

Merged
merged 2 commits into from
Dec 9, 2023
Merged

Conversation

pavlospt
Copy link
Contributor

@pavlospt pavlospt commented Dec 4, 2023

Even though the builder image was pulling multi-arch images the final binary was being built for amd64 arch only.

Even though the builder image was pulling multi-arch images the final binary was being built for amd64 arch only.
@pavlospt pavlospt mentioned this pull request Dec 4, 2023
@pavlospt
Copy link
Contributor Author

pavlospt commented Dec 5, 2023

In order for this to work, it needs to be built in an Arm machine, which Github currently does not offer.

@pavlospt
Copy link
Contributor Author

pavlospt commented Dec 5, 2023

I have built the docker image locally in my Arm machine in order to make this work!

Dockerfile Outdated Show resolved Hide resolved
@pavlospt
Copy link
Contributor Author

pavlospt commented Dec 8, 2023

We went ahead and forked the repo in order to build it in our Arm64 CI nodes!

@chuhlomin chuhlomin merged commit 64d261a into chuhlomin:main Dec 9, 2023
@chuhlomin
Copy link
Owner

Merged and tagged as v1.9.
Could you please double check that it still works with chuhlomin/render-template:v1.9?
If so, I'll update the v1 label.

@pavlospt
Copy link
Contributor Author

pavlospt commented Dec 9, 2023 via email

@chuhlomin
Copy link
Owner

Go supports cross compiling, I fixed it v1.9 version and tested it on ARM:

$ uname -m
aarch64

$ docker run --platform linux/arm/v7 -t -i chuhlomin/render-template:v1.9
::error::failed to render template: template file not found (".kube.yml")

sungik-choi referenced this pull request in channel-io/bezier-react Dec 18, 2023
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
|
[chuhlomin/render-template](https://togithub.com/chuhlomin/render-template)
| action | minor | `v1.8` -> `v1.9` |

---

### Release Notes

<details>
<summary>chuhlomin/render-template (chuhlomin/render-template)</summary>

###
[`v1.9`](https://togithub.com/chuhlomin/render-template/releases/tag/v1.9)

[Compare
Source](https://togithub.com/chuhlomin/render-template/compare/v1.8...v1.9)

#### What's Changed

- Fix multiplatform compatibility by
[@&#8203;pavlospt](https://togithub.com/pavlospt) in
[https://github.com/chuhlomin/render-template/pull/17](https://togithub.com/chuhlomin/render-template/pull/17)

#### New Contributors

- [@&#8203;pavlospt](https://togithub.com/pavlospt) made their first
contribution in
[https://github.com/chuhlomin/render-template/pull/17](https://togithub.com/chuhlomin/render-template/pull/17)

**Full Changelog**:
chuhlomin/render-template@v1.8...v1.9

</details>

---

### Configuration

📅 **Schedule**: Branch creation - "on Monday after 10am before 7pm" in
timezone Asia/Seoul, Automerge - At any time (no schedule defined).

🚦 **Automerge**: Disabled by config. Please merge this manually once you
are satisfied.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR has been generated by [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/). View
repository job log
[here](https://developer.mend.io/github/channel-io/bezier-react).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy45My4xIiwidXBkYXRlZEluVmVyIjoiMzcuOTMuMSIsInRhcmdldEJyYW5jaCI6ImFscGhhIn0=-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
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.

2 participants