mirror of
https://github.com/tianon/docker-bash.git
synced 2026-11-21 02:26:29 +03:00
Use new "bashbrew" composite action
This commit is contained in:
1 parent
0a6db39e0a
commit
b5fb774d81
1 file changed
+2
-2
@@ -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
|
||||
|
||||
|
||||
Reference in new issue
Block a user