forked from Katenary/katenary
Compare commits
5 Commits
feat-fix-i
...
master
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
990eda74eb | ||
| 7230081401 | |||
| f0fc694d50 | |||
| d92cc8a01c | |||
| 3abfaf591c |
@@ -49,6 +49,7 @@ fi
|
|||||||
|
|
||||||
# Where to download the binary
|
# Where to download the binary
|
||||||
TAG=$(curl -sLf https://repo.katenary.io/api/v1/repos/katenary/katenary/releases/latest 2>/dev/null | grep -Po '"tag_name":\s*"[^"]*"' | cut -d ":" -f2 | tr -d '"')
|
TAG=$(curl -sLf https://repo.katenary.io/api/v1/repos/katenary/katenary/releases/latest 2>/dev/null | grep -Po '"tag_name":\s*"[^"]*"' | cut -d ":" -f2 | tr -d '"')
|
||||||
|
TAG=${TAG#releases/}
|
||||||
|
|
||||||
# use the right names for the OS and architecture
|
# use the right names for the OS and architecture
|
||||||
if [ $ARCH = "x86_64" ]; then
|
if [ $ARCH = "x86_64" ]; then
|
||||||
@@ -57,6 +58,7 @@ fi
|
|||||||
|
|
||||||
BIN_URL="https://repo.katenary.io/api/packages/Katenary/generic/katenary/$TAG/katenary-$OS-$ARCH"
|
BIN_URL="https://repo.katenary.io/api/packages/Katenary/generic/katenary/$TAG/katenary-$OS-$ARCH"
|
||||||
|
|
||||||
|
|
||||||
echo
|
echo
|
||||||
echo "Downloading $BIN_URL"
|
echo "Downloading $BIN_URL"
|
||||||
|
|
||||||
|
|||||||
@@ -41,7 +41,7 @@ func Parse(profiles []string, envFiles []string, dockerComposeFile ...string) (*
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
options, err := cli.NewProjectOptions(nil,
|
options, err := cli.NewProjectOptions(dockerComposeFile,
|
||||||
cli.WithProfiles(profiles),
|
cli.WithProfiles(profiles),
|
||||||
cli.WithInterpolation(true),
|
cli.WithInterpolation(true),
|
||||||
cli.WithDefaultConfigPath,
|
cli.WithDefaultConfigPath,
|
||||||
|
|||||||
Reference in New Issue
Block a user