Comments (4)
Ok, i investigated a little bit further and found these 2 issues that describe the same problem(One is solved, the other one is still open):
moby/moby#36524
moby/moby#34242
But I still don't understand why it's only happening sometimes and only with gitlab...
As a Workaround i will try to check if $previousImage
or $currentImage
contains an @
, if not no updates will be made
from shepherd.
No idea about this (I also do not use Gitlab). Keep us updated if you find out more!
from shepherd.
Yes, I will keep an eye on the issues mentioned above. I don't think my workaround should be merged into master, its clearly an docker issue. But if anyone has the same problem:
Inside shepherd
I changed:
if [ "$previousImage" == "$currentImage" ]; then
to
if [ "$previousImage" == "$currentImage" ] || [[ "$currentImage" != *"@"* ]] || [[ "$previousImage" != *"@"* ]]; then
which solves it for me.
from shepherd.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
from shepherd.
Related Issues (20)
- Switch default branch from `master` to `main`
- Can't update some services: no such manifest HOT 9
- This seems like a perfectly valid way to deploy this seeing as it seems a bit inconsistent documentation wise HOT 2
- armhf support HOT 2
- Update containers in other DockerSwarm stacks HOT 1
- Shepherd updates back and forth between sha version and latest HOT 16
- How does it determine if there is an update or not? HOT 5
- latest does not exist or it is not available HOT 10
- Latest not available or does not exist HOT 10
- Auto Image delete HOT 6
- Multiple Registries HOT 1
- Crazymax cron cotainer not starting HOT 1
- Excessive amount of image pulls HOT 7
- Allow insecure-registries HOT 5
- Cannot access to INSECURE registry while adding WITH_INSECURE_REGISTRY to true HOT 1
- [Question] Default docker auth for private registry HOT 4
- Docker Swarm - cannot service with update multiple replicas HOT 3
- Request: Notification on completion HOT 5
- Looking for a new maintainer HOT 25
- Service gets stuck when calling "docker service update" and won't progress HOT 2
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 shepherd.