Skip to content

Commit f71d6ef

Browse files
authored
Merge pull request #107 from infosiftr/bashbrew-buildkit-syntax
Remove `.bashbrew-buildkit-syntax` fallback in GHA
2 parents b0b055e + d114db2 commit f71d6ef

File tree

1 file changed

+3
-8
lines changed

1 file changed

+3
-8
lines changed

scripts/github-actions/generate.sh

Lines changed: 3 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -199,14 +199,9 @@ strategy="$(
199199
"# https://github.com/docker-library/bashbrew/pull/43",
200200
if ([ .meta.entries[].builder ] | index("buildkit")) then
201201
# https://github.com/docker-library/bashbrew/pull/70#issuecomment-1461033890 (we need to _not_ set BASHBREW_ARCH here)
202-
"if [ -x ~/oi/.bin/bashbrew-buildkit-env-setup.sh ]; then",
203-
"\t# https://github.com/docker-library/official-images/pull/14212",
204-
"\tbuildkitEnvs=\"$(~/oi/.bin/bashbrew-buildkit-env-setup.sh)\"",
205-
"\tjq <<<\"$buildkitEnvs\" -r \(env.envObjectToGitHubEnvFileJQ | @sh) | tee -a \"$GITHUB_ENV\"",
206-
"else",
207-
"\tBASHBREW_BUILDKIT_SYNTAX=\"$(< ~/oi/.bashbrew-buildkit-syntax)\"; export BASHBREW_BUILDKIT_SYNTAX",
208-
"\tprintf \"BASHBREW_BUILDKIT_SYNTAX=%q\\n\" \"$BASHBREW_BUILDKIT_SYNTAX\" >> \"$GITHUB_ENV\"",
209-
"fi",
202+
# https://github.com/docker-library/official-images/pull/14212
203+
"buildkitEnvs=\"$(~/oi/.bin/bashbrew-buildkit-env-setup.sh)\"",
204+
"jq <<<\"$buildkitEnvs\" -r \(env.envObjectToGitHubEnvFileJQ | @sh) | tee -a \"$GITHUB_ENV\"",
210205
empty
211206
else
212207
empty

0 commit comments

Comments
 (0)