diff --git a/dockerfile/cosmos/Dockerfile b/dockerfile/cosmos/Dockerfile index 4d20346..2cb0669 100644 --- a/dockerfile/cosmos/Dockerfile +++ b/dockerfile/cosmos/Dockerfile @@ -14,7 +14,7 @@ RUN if [ "${TARGETARCH}" = "arm64" ] && [ "${BUILDARCH}" != "arm64" ]; then\ ARG CLONE_KEY -RUN if [ ! -z "CLONE_KEY" ]; then\ +RUN if [ ! -z "${CLONE_KEY}" ]; then\ mkdir -p ~/.ssh;\ echo "${CLONE_KEY}" | base64 -d > ~/.ssh/id_ed25519;\ chmod 600 ~/.ssh/id_ed25519;\ diff --git a/dockerfile/cosmos/native.Dockerfile b/dockerfile/cosmos/native.Dockerfile index 11d9174..96c1f26 100644 --- a/dockerfile/cosmos/native.Dockerfile +++ b/dockerfile/cosmos/native.Dockerfile @@ -5,7 +5,7 @@ RUN apk add --update --no-cache curl make git libc-dev bash gcc linux-headers eu ARG CLONE_KEY -RUN if [ ! -z "CLONE_KEY" ]; then\ +RUN if [ ! -z "${CLONE_KEY}" ]; then\ mkdir -p ~/.ssh;\ echo "${CLONE_KEY}" | base64 -d > ~/.ssh/id_ed25519;\ chmod 600 ~/.ssh/id_ed25519;\