diff --git a/deployment/dockerfiles/Dockerfile b/deployment/dockerfiles/Dockerfile index b2c031f98..c7c25a9b4 100644 --- a/deployment/dockerfiles/Dockerfile +++ b/deployment/dockerfiles/Dockerfile @@ -312,7 +312,7 @@ WORKDIR /go/src/github.com/enigmampc/SecretNetwork/ COPY check-hw check-hw -RUN STORAGE_PATH=`echo ${VERSION} | sed -e 's/\.//g' | head -c 2` \ +RUN STORAGE_PATH=$(echo ${VERSION} | awk -F'[.]' '{print $1 $2}') \ && wget -O check-hw/check_hw_enclave.so https://engfilestorage.blob.core.windows.net/v$STORAGE_PATH/librust_cosmwasm_enclave.signed.so COPY --from=compile-secretd /go/src/github.com/enigmampc/SecretNetwork/go-cosmwasm/librust_cosmwasm_enclave.signed.so check-hw/check_hw_enclave_testnet.so