-
-
Notifications
You must be signed in to change notification settings - Fork 502
feat: Add GitHub Actions workflow for multi-platform Docker builds #502
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
base: master
Are you sure you want to change the base?
Conversation
where is your servimapsync file? |
…ile pour inclure le serveur web et exposer le port 8080
Currently, I'm not the guy who update the github repository. |
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.
libnet-server-perl is in
https://imapsync.lamiral.info/INSTALL.d/Dockerfile
I won't expose 8080 by default. It's not the main purpose of the image and exposing a port is always dangerous.
I have resolve the problem of web interface |
Anybody? |
For what? |
Hello,
This Pull Request aims to automate the build and publication of Docker images for
imapsync
using GitHub Actions.Issues Addressed
Dockerfile
could not be built correctly from the project root due to invalid paths in aCOPY
instruction, which prevented its use in a standard workflow.Changes Made
Added a GitHub Actions workflow (
.github/workflows/docker-image.yml
)push
to themaster
andleknoppix-arch64
branches.linux/amd64
andlinux/arm64
.--testslive
and--tests
) are run for each architecture during the build phase to ensure the image's integrity.Fixed the
Dockerfile
(INSTALL.d/Dockerfile
)COPY
instruction has been corrected to use proper relative paths, allowing the build to run from the project root.For Maintainers
For the Docker Hub publication to work, the following secrets will need to be configured in the repository settings (
Settings > Secrets and variables > Actions
) :DOCKERHUB_USERNAME
: The Docker Hub username.DOCKERHUB_TOKEN
: A Docker Hub access token with write permissions.Thank you for considering this contribution.
French Version
Bonjour,
Cette Pull Request a pour but d'automatiser la construction et la publication des images Docker pour
imapsync
en utilisant GitHub Actions.Problèmes adressés
Dockerfile
ne pouvait pas être construit correctement depuis la racine du projet à cause de chemins invalides dans une instructionCOPY
, ce qui empêchait son utilisation dans un workflow standard.Changements apportés
Ajout d'un workflow GitHub Actions (
.github/workflows/docker-image.yml
)push
sur les branchesmaster
etleknoppix-arch64
.linux/amd64
etlinux/arm64
.--testslive
et--tests
) sont exécutés pour chaque architecture durant la phase de build pour garantir l'intégrité de l'image.Correction du
Dockerfile
(INSTALL.d/Dockerfile
)COPY
a été corrigée pour utiliser des chemins relatifs corrects, permettant au build de s'exécuter depuis la racine du projet.Pour les mainteneurs
Pour que la publication sur Docker Hub fonctionne, les secrets suivants devront être configurés dans les paramètres du dépôt (
Settings > Secrets and variables > Actions
) :DOCKERHUB_USERNAME
: Le nom d'utilisateur Docker Hub.DOCKERHUB_TOKEN
: Un token d'accès Docker Hub avec les permissions d'écriture.Merci de considérer cette contribution.