Skip to content

Commit 282a381

Browse files
committed
Use new "bashbrew" composite action
1 parent 851c36f commit 282a381

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

.github/workflows/ci.yml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,13 +19,11 @@ jobs:
1919
strategy: ${{ steps.generate-jobs.outputs.strategy }}
2020
steps:
2121
- uses: actions/checkout@v3
22+
- uses: docker-library/bashbrew@HEAD
2223
- id: generate-jobs
2324
name: Generate Jobs
2425
run: |
25-
git clone --depth 1 https://github.com/docker-library/bashbrew.git -b master ~/bashbrew
26-
strategy="$(~/bashbrew/scripts/github-actions/generate.sh)"
27-
# if we're FROM jessie, include a ulimit so apt-get isn't slow (https://bugs.launchpad.net/bugs/1332440)
28-
strategy="$(jq -c '.matrix.include = [ .matrix.include[] | if .meta.froms[] | test("jessie") then .runs.build |= gsub("docker build"; "docker build --ulimit nofile=1024:1024") else . end ]' <<<"$strategy")"
26+
strategy="$("$BASHBREW_SCRIPTS/github-actions/generate.sh")"
2927
echo "strategy=$strategy" >> "$GITHUB_OUTPUT"
3028
jq . <<<"$strategy" # sanity check / debugging aid
3129

0 commit comments

Comments
 (0)