Skip to content

Commit be41232

Browse files
committed
#2467: add setup_env.sh script
1 parent 919cacc commit be41232

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

ci/setup_env.sh

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
#!/usr/bin/env bash
2+
3+
set -exo pipefail
4+
5+
bake_target=${1}
6+
7+
docker buildx bake --print "$bake_target" | \
8+
jq -r --arg t "$bake_target" '.target[$t].args | to_entries.[] | join("=")' \
9+
>> .env

0 commit comments

Comments
 (0)