rosdump: Use codemowers/git image
This commit is contained in:
parent
bacef8d438
commit
999d17c384
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user