From 0cf492c39a2aa73107ca2e89692a46f2fdbd2016 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=81lvaro=20V=C3=A1zquez?= Date: Wed, 23 Oct 2024 09:06:21 +0200 Subject: [PATCH] fixes the update_current_tag openvpn script so that it does not use docker (#289) --- images/openvpn/update_current_tag.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/images/openvpn/update_current_tag.sh b/images/openvpn/update_current_tag.sh index b8efac4..3e78908 100755 --- a/images/openvpn/update_current_tag.sh +++ b/images/openvpn/update_current_tag.sh @@ -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