Skip to content

Commit 9dfdf8b

Browse files
authored
Merge pull request #1654 from scrtlabs/dcap-10
check-hw including proper enclave
2 parents 1d89a8b + da62570 commit 9dfdf8b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

deployment/dockerfiles/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -312,7 +312,7 @@ WORKDIR /go/src/github.com/enigmampc/SecretNetwork/
312312

313313
COPY check-hw check-hw
314314

315-
RUN STORAGE_PATH=`echo ${VERSION} | sed -e 's/\.//g' | head -c 2` \
315+
RUN STORAGE_PATH=$(echo ${VERSION} | awk -F'[.]' '{print $1 $2}') \
316316
&& wget -O check-hw/check_hw_enclave.so https://engfilestorage.blob.core.windows.net/v$STORAGE_PATH/librust_cosmwasm_enclave.signed.so
317317
COPY --from=compile-secretd /go/src/github.com/enigmampc/SecretNetwork/go-cosmwasm/librust_cosmwasm_enclave.signed.so check-hw/check_hw_enclave_testnet.so
318318

0 commit comments

Comments
 (0)