Skip to content

Commit

Permalink
ci: Push to the correct repos
Browse files Browse the repository at this point in the history
  • Loading branch information
edmundmiller committed Nov 30, 2023
1 parent 9c0382a commit d7001f4
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions .github/workflows/wave.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,13 +54,21 @@ jobs:
sudo mv wave-${WAVE_VER}-linux-x86_64 /usr/local/bin/wave
chmod +x /usr/local/bin/wave
- name: Create a registry name
uses: actions/github-script@v7
id: registry-name
with:
result-encoding: string
script: |
return '${{ matrix.files }}'.replace('modules/nf-core', '').replace('/environment.yml', '');
- name: Build container
if: matrix.profile == 'docker'
run: |
wave --conda-file "${{ matrix.files }}" \
--freeze \
--await \
--build-repo quay.io/nf-core/modules/bowtie \
--build-repo ${{steps.registry-name.outputs.result}} \
--tower-token ${{ secrets.TOWER_ACCESS_TOKEN }} \
--tower-workspace-id ${{ secrets.TOWER_WORKSPACE_ID }}
Expand All @@ -70,7 +78,7 @@ jobs:
wave --conda-file "${{ matrix.files }}" \
--freeze \
--await \
--build-repo quay.io/nf-core/modules/bowtie \
--build-repo ${{steps.registry-name.outputs.result}}/singularity \
--tower-token ${{ secrets.TOWER_ACCESS_TOKEN }} \
--tower-workspace-id ${{ secrets.TOWER_WORKSPACE_ID }} \
--singularity
Expand Down

0 comments on commit d7001f4

Please sign in to comment.