Alpine: set repo to use image.release instead of latest-stable
This commit is contained in:
@@ -53,7 +53,7 @@ sed -i -e '/#InitDownloadREPO/a \ url: '$AlpineRepo'' CT-Build/Alpine.yaml
|
||||
|
||||
#AlpineRepo
|
||||
sed -i -n '/#StartREPOS/{:a;N;/#EndREPOS/!ba;N;s/.*\n/#HereREPO\n/};p' CT-Build/Alpine.yaml
|
||||
sed -i -e 's#\#HereREPO#\ \#StartREPOS\n\ '$AlpineRepo/latest-stable/main'\n\ '$AlpineRepo'latest-stable/community\n\ \#EndREPOS#g' CT-Build/Alpine.yaml
|
||||
sed -i -e 's#\#HereREPO#\ \#StartREPOS\n\ '$AlpineRepo'/v{{ image.release }}/main\n\ '$AlpineRepo'v{{ image.release }}/community\n\ \#EndREPOS#g' CT-Build/Alpine.yaml
|
||||
|
||||
#DebianBaseRepo
|
||||
sed -i -e '/#InitDownloadREPO/{n;d}' CT-Build/Debian.yaml
|
||||
|
||||
Reference in New Issue
Block a user