Skip to content

Commit

Permalink
Merge pull request #514 from okp4/ci/fix-release
Browse files Browse the repository at this point in the history
ci(release): bind user when compiling optimized wasm
  • Loading branch information
amimart authored Mar 17, 2024
2 parents 648b454 + 92e4c4f commit 230a722
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile.toml
Original file line number Diff line number Diff line change
Expand Up @@ -212,7 +212,7 @@ echo "📖 Documentation has been successfully generated and available at $(pwd)
description = "Build optimized wasm using CosmWasm optimizer and provide checksums"
script = '''
echo "📦 Generating release binaries and checksums into ${DIR_WASM}"
docker run --rm -v "$(pwd)":/code \
docker run --rm --user $(id -u):$(id -g) -v "$(pwd)":/code \
--mount type=volume,source="$(basename "$(pwd)")_cache",target=/target \
--mount type=volume,source=registry_cache,target=/usr/local/cargo/registry \
cosmwasm/optimizer:0.15.1
Expand Down

0 comments on commit 230a722

Please sign in to comment.