Skip to content

Commit a27bea1

Browse files
committed
Add trigger and fix yaml
1 parent 3ab9540 commit a27bea1

File tree

2 files changed

+22
-1
lines changed

2 files changed

+22
-1
lines changed

.github/workflows/build_containers.yaml

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -281,3 +281,22 @@ jobs:
281281
- name: Inspect images
282282
run: |
283283
cat /tmp/tags | xargs -i bash -c 'docker buildx imagetools inspect {}'
284+
285+
trigger-extensions:
286+
needs: [merge]
287+
runs-on: ubuntu-latest
288+
if: success()
289+
steps:
290+
- name: Trigger extensions workflow
291+
uses: actions/github-script@v7
292+
with:
293+
github-token: ${{ secrets.GITHUB_TOKEN }}
294+
script: |
295+
const branch = context.ref.replace('refs/heads/', '');
296+
await github.rest.actions.createWorkflowDispatch({
297+
owner: context.repo.owner,
298+
repo: context.repo.repo,
299+
workflow_id: 'build_extensions.yaml',
300+
ref: branch
301+
});
302+
console.log(`Triggered build_extensions.yaml workflow on branch ${branch}`)

extensions/galaxy/bioc-extension.yaml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,6 @@ container:
22
outname: galaxy-rstudio
33
base:
44
image: ghcr.io/bioconductor/bioconductor
5-
tag: {"3.21", "devel"}
5+
tag:
6+
- "3.21"
7+
- "devel"

0 commit comments

Comments
 (0)