-
Notifications
You must be signed in to change notification settings - Fork 134
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
added a git workflow for docker multiarch publish #53
added a git workflow for docker multiarch publish #53
Conversation
Signed-off-by: Krasi Georgiev <8903888+krasi-georgiev@users.noreply.github.com>
Signed-off-by: Krasi Georgiev <8903888+krasi-georgiev@users.noreply.github.com>
Signed-off-by: Krasi Georgiev <8903888+krasi-georgiev@users.noreply.github.com>
Signed-off-by: Krasi Georgiev <8903888+krasi-georgiev@users.noreply.github.com>
Signed-off-by: Krasi Georgiev <8903888+krasi-georgiev@users.noreply.github.com>
Signed-off-by: Krasi Georgiev <8903888+krasi-georgiev@users.noreply.github.com>
f3ec027
to
a02ca85
Compare
Signed-off-by: Krasi Georgiev <8903888+krasi-georgiev@users.noreply.github.com>
a02ca85
to
3da7353
Compare
Signed-off-by: Krasi Georgiev <8903888+krasi-georgiev@users.noreply.github.com>
ping @magna-z |
Why do you edit README.md? |
Signed-off-by: Krasi Georgiev <8903888+krasi-georgiev@users.noreply.github.com>
because it is much easier to just mention that the images are constructed from the branch name instead of listing each one. less error prone. This way don't have to edit the readme every time you add a new docker image
not sure what happened, I fixed it. |
ping @magna-z |
hi, I tried to deploy traccar/traccar:latest and also traccar/traccar:4.10-alpine to my pine64 running armbian buster. standard_init_linux.go:211: exec user process caused "exec format error" Can anyone help me to get it working? I think it also caused of arm compatibility? Is there anything to do to get your multiarch version running? Thanks so much! |
ping @magna-z |
Files changed=598 - what is it??? |
…h-actions Signed-off-by: Krasi Georgiev <8903888+krasi-georgiev@users.noreply.github.com>
71c83d6
to
0861b0c
Compare
hhm , not sure what happened, that was a mistake, it is fixed now. |
ping @magna-z |
is the team interested in this contribution or shall I close it? |
I'll defer to @magna-z to decide. |
README.md is broken. |
- name: Print Branch name | ||
run: 'echo running on branch ${GITHUB_REF##*/}' | ||
- name: Build and publish image | ||
uses: ilteoood/docker_buildx@master |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why not docker/build-push-action?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yes I just found out about it as well. Will refactor.
I can leave as is, just thought that this way will reduce the manual work a bit. Can revert it if you prefer to keep these manual entries. Let me know |
I am also interesting to run Traccar in docker on RPi 4 8GB. |
This needs to be updated with the official multiarch docker build |
I don't have the skills to do that I'm afraid. I'm a docker user that still only use prebuilt containers. Would like to learn to build custom made containers some day. Hopefully someone else can help this PR over the finish line. Thanks for your efforts with this PR! |
As I said, this is not in my skillset, but maybe it is something like this?
|
@magna-z Any answer to this question? |
Multi-platform docker images released for current version 4.11. Details in README.md |
closes: #43
Only the alpine image is multiarch as the official java doesn't support multiarch for debian.
It will auto-publish for all branches and it is triggered by any push. I can also set it to be triggered by only changes to the dockerfiles, but that is error prone if you decide to refactor the folder structure at some point.
You can see an example of a successful push here
https://github.com/arribada/traccar-docker/actions/runs/181356434
https://hub.docker.com/repository/docker/arribada/traccar/tags?page=1
Signed-off-by: Krasi Georgiev 8903888+krasi-georgiev@users.noreply.github.com