mirror of
https://github.com/itzg/docker-minecraft-server.git
synced 2026-10-17 01:08:12 +00:00
generic-packs: support oci:// references via install-oci-pack (#4164)
This commit is contained in:
1 parent
3302bdb3cb
commit
591f37bfa5
7 files changed
+84
-1
No files matched your search
@@ -173,6 +173,12 @@ function isURL() {
|
||||
[[ $value =~ ^(https?|ftp):// ]]
|
||||
}
|
||||
|
||||
function isOCIRef() {
|
||||
local value=$1
|
||||
|
||||
[[ $value =~ ^oci:// ]]
|
||||
}
|
||||
|
||||
function isValidFileURL() {
|
||||
suffix=${1:?Missing required suffix arg}
|
||||
url=${2:?Missing required url arg}
|
||||
|
||||
Reference in new issue
Block a user