Skip to content

Commit

Permalink
chore: pin egnkey version in docker
Browse files Browse the repository at this point in the history
  • Loading branch information
MegaRedHand committed Nov 1, 2024
1 parent 221ff5d commit 06e5f94
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion kurtosis_package/dockerfiles/egnkey.Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
FROM golang:1.23

RUN go install github.com/Layr-Labs/eigensdk-go/cmd/egnkey@latest
RUN go install github.com/Layr-Labs/eigensdk-go/cmd/egnkey@565bb44

ENTRYPOINT "egnkey"
4 changes: 2 additions & 2 deletions kurtosis_package/keys.star
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ def generate_all_keys(plan, context, keys):
def generate_keys(plan, egnkey_service_name, key_type, artifact_name):
output_dir = "/_output"

cmd = "rm -rf {output} && mkdir -p {output} && \
cmd = "set -e ; rm -rf {output} && mkdir -p {output} && \
egnkey generate --key-type {type} --num-keys 1 --output-dir {output} ; \
cat {output}/password.txt | tr -d '\n'".format(
output=output_dir, type=key_type
Expand All @@ -55,7 +55,7 @@ def generate_keys(plan, egnkey_service_name, key_type, artifact_name):
description="Storing " + key_type + " key",
)

cmd = "cat {}/private_key_hex.txt | tr -d '\n'".format(output_dir)
cmd = "set -e ; cat {}/private_key_hex.txt | tr -d '\n'".format(output_dir)

result = plan.exec(
service_name=egnkey_service_name,
Expand Down

0 comments on commit 06e5f94

Please sign in to comment.