mirror of
https://github.com/Gradiant/5g-images.git
synced 2025-10-23 00:02:08 +00:00
fixes the update_current_tag openvpn script so that it does not use docker (#289)
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
|
||||
set -x
|
||||
|
||||
CURRENT_TAG=$(docker run --pull=always -ti --rm alpine:latest apk info --no-cache openvpn | grep -Po '(?<=openvpn-)[\d\.]+' | head -1)
|
||||
CURRENT_TAG=$(curl -sSL https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/ | grep "openvpn" | awk 'NR==2' | awk -F'[-]' '{print $2}')
|
||||
|
||||
# Load IMAGE_TAG
|
||||
[[ -f image_info.sh ]] && source image_info.sh || exit 1
|
||||
|
Reference in New Issue
Block a user