Skip to content

Commit 9261164

Browse files
committed
attestation: Update to dstack v0.5.2
1 parent b3f9b17 commit 9261164

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

attestation/configid-based/attest.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#!/bin/bash
22

33
# Configuration variables with default values
4-
IMAGE_VERSION="0.5.1"
4+
IMAGE_VERSION="0.5.2"
55
VCPU_COUNT="2"
66
MEM_SIZE="2048"
77

@@ -181,7 +181,7 @@ calc_mrs_command() {
181181
# Calculate mr_config_id from app-compose.json and pad to 48 bytes (96 hex characters)
182182
original_hash=$(sha256sum app-compose.json | cut -d' ' -f1)
183183
# Pad with zeros if needed to reach 96 characters
184-
mr_config_id=$(printf "%-96s" "$original_hash" | tr ' ' '0')
184+
mr_config_id=$(printf "01%-94s" "$original_hash" | tr ' ' '0')
185185
echo "Using mr_config_id: $mr_config_id"
186186

187187
# Run dstack-mr with metadata.json from the image

0 commit comments

Comments
 (0)