mirror of
https://github.com/InsanusMokrassar/JenkinsDocker.git
synced 2026-03-10 11:02:26 +00:00
add first version of ssh-agent publishing
This commit is contained in:
11
ssh-agent/autoupdate.sh
Executable file
11
ssh-agent/autoupdate.sh
Executable file
@@ -0,0 +1,11 @@
|
||||
#!/bin/bash
|
||||
|
||||
if [ -z "$1" ]; then
|
||||
newVersion="5.38.0"
|
||||
else
|
||||
newVersion="$1"
|
||||
fi
|
||||
|
||||
sed -i -E "s/ssh-agent:[0-9\.]+/ssh-agent:${newVersion}/g" Dockerfile
|
||||
sed -i -E "s/version=\"[0-9\.]+\"/version=\"${newVersion}\"/g" deploy
|
||||
|
||||
Reference in New Issue
Block a user