-
Notifications
You must be signed in to change notification settings - Fork 47
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
Arm64 support, DependaBot alerts, Docker Build Cache #57
base: master
Are you sure you want to change the base?
Conversation
Hey, looks good! Let me know when this is ready to merge. Also If possible, squash commits like "test fix 1". I'm not familiar with all the actions you used so if you could clarify a couple of things before I merge:
No rush, implement all your changes before answering |
I based this commit thinking you were building the container from DOCKERFILE, but after I created the pull request I noticed that you are using docker-compose.yml to build it, by passing some more commands in the compose file.
|
Okay, gotcha When it comes to the tags, I think it would be best to have the :latest tag as a convention, as well as the release tag (e.g. v0.3.0) name for now. It makes it more intuitive for people to choose between the latest release and a specific one. Lmk if you run into issues regarding that or if you have any suggestions. |
@aleksilassila can you explain to me why you are building using |
The multiple docker-compose files are there to make Using docker compose build is probably unnecessary, however. I just used it to easily reuse the values in docker-compose files (container_name, image, target build stage etc). I assume you can pass those with the docker build command. |
It would be better to separate out the dockerfiles for dev and prod |
If you're not using the docker compose, you'll need to specify the build stage with flags, for example https://docs.docker.com/build/building/multi-stage/ https://docs.docker.com/engine/reference/commandline/buildx_build/ |
I think it would |
okay, so I got it to work with buildx and build a multiarch image. |
The way it works currently is I'll run npm version minor/major/patch. It will bump package.json version, create a release commit and add the version number as a tag to that commit. Then I'll push the the tag (and the commit). Every tag that is pushed and that starts with "v" triggers the build.yml. The tag name is extracted from ${{ github.ref_name }}. name: Build & Deploy
on:
push:
tags:
- v*
# ...
env:
REGISTRY: ghcr.io
IMAGE_NAME: ${{ github.repository }}
TAG: ${{ github.ref_name }} |
okay i see, then i think i got everything working |
I will double-check the code and redo the pull request, from the master branch of my fork. |
Whoops, let me know when this is ready for merge |
Out on vacation, will be back in a few days. |
Are there any updates on this..? Really looking forward to test Reiverr on my ARM server! |
@rflrkn i stopped working on it after Alex posted about project state |
Ah, didn't see that. Thanks! |
Do Not merge this yet. I overlooked that you were building from
docker-compose.yml
file instead of DOCKERFILE.Multiple Updates
NEEDS TESTING
Doesn't work on ARM64 #41Workflow Dispatch
to manually trigger CI.BREAKING CHANGE TO CI
main
GIT_TOKEN
fromGITHUB_TOKEN
P.S.
Reiverr
is amazing, still needs a lot of improvements, but I'm sure it will get there.