alpine stuff
This commit is contained in:
parent
2e27d99549
commit
db72a36a26
7
alpine-pkg-tag.sh
Normal file
7
alpine-pkg-tag.sh
Normal file
@ -0,0 +1,7 @@
|
||||
#!/bin/sh
|
||||
PKG_NAME=$1
|
||||
|
||||
apk add --no-cache $PKG_NAME
|
||||
VER=$(apk version $PKG_NAME | grep $PKG_NAME | sed -e "s/$PKG_NAME-\(.*\).*=.*/\1/")
|
||||
echo "$PKG_NAME version $VER"
|
||||
echo -n "$VER,latest" > .tags
|
Loading…
Reference in New Issue
Block a user