Add container mulled-v2-23c318ae7fed5ca4cc4e59b7c0da2e2a5a34009f:50ab68ba10d46709b933a6eb7c8c675a855272ac. #4272
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build image | |
on: [push, pull_request] | |
env: | |
MULLED_NAMESPACE: biocontainers | |
jobs: | |
build-and-test: | |
runs-on: ubuntu-latest | |
strategy: | |
fail-fast: true | |
matrix: | |
python-version: [3.9] | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-python@v5 | |
with: | |
python-version: ${{ matrix.python-version }} | |
- name: Install python dependencies | |
run: | | |
#python -m pip install git+https://[email protected]/galaxyproject/galaxy.git@dev#subdirectory=packages/util | |
#python -m pip install git+https://[email protected]/galaxyproject/galaxy.git@dev#subdirectory=packages/tool_util | |
python -m pip install galaxy-tool-util | |
- run: docker --version | |
- run: docker info | |
- name: Build images | |
run: | | |
mulled-build-files --check-published --singularity --namespace $MULLED_NAMESPACE --use-mamba build-and-test ./combinations --verbose | |
- name: Upload images (if pushed to master branch) | |
if: github.ref == 'refs/heads/master' && github.repository_owner == 'BioContainers' | |
env: | |
SSH_AUTH_SOCK: /tmp/ssh_agent.sock | |
INVOLUCRO_AUTH: "https://${{ secrets.MY_USER }}:${{ secrets.MY_PASSWORD }}@quay.io/v1/?email=${{ secrets.MY_EMAIL }}" | |
run: | | |
mkdir -p ~/.ssh | |
ssh-keyscan -t rsa depot.galaxyproject.org >> ~/.ssh/known_hosts | |
ssh-agent -a $SSH_AUTH_SOCK > /dev/null | |
ssh-add - <<< "${{ secrets.ORVAL_KEY }}" | |
mulled-build-files --check-published --namespace $MULLED_NAMESPACE --oauth-token ${{ secrets.QUAY_OAUTH_TOKEN }} push ./combinations | |
ls -l singularity_import | |
[ "$(ls -A singularity_import)" ] && echo 'uploading Singularity images' && scp singularity_import/*:* [email protected]:/srv/nginx/depot.galaxyproject.org/root/singularity/ |