File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change 88 CARGO_OPTIONS=" "
99fi
1010
11+ SOLANA_VERSION=$( grep -A 2 ' name = "solana-program"' Cargo.lock | grep ' version' | head -n 1 | cut -d' "' -f2)
12+
1113for program in programs/* ; do
1214 [ -d " $program " ] || continue
1315
1416 dir_name=$( basename " $program " )
1517 program_name=${dir_name// -/ _}
1618
1719 echo " Running verified build for $program_name "
18- solana-verify build --library-name " $program_name " -- $CARGO_OPTIONS
20+ solana-verify build --library-name " $program_name " --base-image " solanafoundation/solana-verifiable-build: $SOLANA_VERSION " -- $CARGO_OPTIONS
1921
2022 # We don't need keypair files from the verified build and they cause permission issues on CI when Swatinem/rust-cache
2123 # tries to delete them.
You can’t perform that action at this time.
0 commit comments