We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents b4880ac + 4632bf0 commit b4cc436Copy full SHA for b4cc436
scripts/github-actions/generate.sh
@@ -96,7 +96,14 @@ for tag in $tags; do
96
| join(" ")
97
),
98
history: ("docker history " + (.tags[0] | @sh)),
99
- test: ("~/oi/test/run.sh " + (.tags[0] | @sh)),
+ test: (
100
+ [
101
+ "set -- " + (.tags[0] | @sh),
102
+ # https://github.com/docker-library/bashbrew/issues/46#issuecomment-1152567694 (allow local test config / tests)
103
+ "if [ -s ./.test/config.sh ]; then set -- --config ~/oi/test/config.sh --config ./.test/config.sh \"$@\"; fi",
104
+ "~/oi/test/run.sh \"$@\""
105
+ ] | join("\n")
106
+ ),
107
},
108
}
109
'
0 commit comments