diff --git a/rosdump/application.yml b/rosdump/application.yml index d5be50e..321cc72 100644 --- a/rosdump/application.yml +++ b/rosdump/application.yml @@ -21,7 +21,7 @@ data: ssh rosdump@$target '/export' | grep -v '^# serial number =' | grep -v '^#.* by RouterOS' > $target git add $target done - if [[ `git status --porcelain` ]]; then + if [[ `git status --porcelain` ]]; then echo "Attempting Git check in" git commit -m "$(git diff --cached --shortstat)" git push @@ -62,8 +62,8 @@ spec: restartPolicy: OnFailure containers: - name: rosdump - image: harbor.k-space.ee/k-space/microscript-base - imagePullPolicy: Always + image: codemowers/git + imagePullPolicy: IfNotPresent args: - bash - /config/script.sh