Comments (7)
Hi there!
my rpi 400 melted in a house fire last this Tuesday (everybody are save), so I donβt have access to rpi build runtime anymore. You can check out/clone the repo https://github.com/zeppelinux/ninjam and try to build it on yours. Verify ninjas works.
Hopefully there is rpi target platform available in the GitHub and both builds (Linux and rpi) can be triggered automatically on the tag push. Let me know how it goes. Good luck!
from ninjam-helm.
Looks good to me. Want to try and create PR?
from ninjam-helm.
oh man, that's terrible. i'm sorry to hear, but relieved to hear everyone is okay.
i'll keep investigating and see what i need to do to get'r done.
take care / best of luck
edit: managed to compile it locally and it runs fine.
from ninjam-helm.
jobs:
multi:
name: Set up QEMU
uses: docker/setup-qemu-action@v1
-
name: Set up Docker Buildx
uses: docker/setup-buildx-action@v1
-
name: Login to DockerHub
uses: docker/login-action@v1
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
-
name: Build and push
uses: docker/build-push-action@v2
with:
context: .
file: ./Dockerfile
platforms: linux/amd64,linux/arm/v7
push: true
tags: |
user/app:latest
user/app:1.0.0
i'm not super familiar with github actions, but it looks as if this is all that would be needed to build it for raspberry pi.
from ninjam-helm.
Sure thing; zeppelinux/ninjam#5.
Wasn't too sure what to do with the Docker push step...not sure if that's necessary.
from ninjam-helm.
The docker image is built by the DockerHub itself (not GitHub). DockerHub gets notified by GitHub (web hoock) on successful release, so yes there is no need to push anything from GitHub. I saw images on DockerHub for multiple architectures in the same registry, so it looks like it is supported (but I'm not sure).
I will look at the Docker Hub build and see if it can build another image.
from ninjam-helm.
looks like you can either do it via your pipelines with buildx
or use the ARCH
env var in your Dockerfile to specify what architecture to use.
https://www.docker.com/blog/multi-arch-build-and-images-the-simple-way/
building my own here: https://github.com/ianhundere/ninjam-server-armhf
from ninjam-helm.
Related Issues (1)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. πππ
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ninjam-helm.