Replies: 3 comments 12 replies
-
Hey, can you give a breakdown of your compose and how it works so I can try replicate this as close to what you are doing? |
Beta Was this translation helpful? Give feedback.
6 replies
-
Just a theory, if you add an extra dummy VAR(ENV MYAPP_VERSION=1.0) to your Dockerfile as part of the next changes you are pushing to Git, does that change that trigger a rebuild? |
Beta Was this translation helpful? Give feedback.
5 replies
-
Have you found a solution to the problem? |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I have encountered an issue with the automatic update of my stack in Portainer, which is deployed via a GitHub repository. My Docker Compose file specifies that my application is built before deploying. Ideally, any change pushed to my GitHub repository should trigger a webhook to redeploy my stack in Portainer to incorporate the changes.
However, the problem I am facing is that after pushing changes to the repository, my Portainer instance does not rebuild the application as expected. Instead, it continues to use the old Docker image without reflecting the latest changes. To have the application rebuilt with the recent changes, I find myself having to manually delete the old image and redeploy the stack.
Is there a setting or a method by which Portainer can automatically detect that changes have been made and accordingly rebuild the image and update the stack without the need for manual intervention? Is such a feature perhaps being considered for future updates?
Beta Was this translation helpful? Give feedback.
All reactions