Use new "bashbrew" composite action

This commit is contained in:
Tianon Gravi committed 2022-11-16 13:55:12 -08:00
1 parent 0a6db39e0a
commit b5fb774d81
1 file changed
+2 -2
+2 -2
View File
@@ -19,14 +19,14 @@ jobs:
strategy: ${{ steps.generate-jobs.outputs.strategy }}
steps:
- uses: actions/checkout@v3
- uses: docker-library/bashbrew@HEAD
- id: generate-jobs
name: Generate Jobs
run: |
image="${GITHUB_REPOSITORY##*/}"
image="${image#docker-}"
export GITHUB_REPOSITORY="$image"
git clone --depth 1 https://github.com/docker-library/bashbrew.git -b master ~/bashbrew
strategy="$(~/bashbrew/scripts/github-actions/generate.sh)"
strategy="$("$BASHBREW_SCRIPTS/github-actions/generate.sh")"
echo "strategy=$strategy" >> "$GITHUB_OUTPUT"
jq . <<<"$strategy" # sanity check / debugging aid