Dockerfile #14
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
on: | |
push: | |
paths: | |
- common/docker/Dockerfile | |
workflow_dispatch: | |
name: Dockerfile | |
jobs: | |
sync: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repo | |
uses: actions/checkout@v2 | |
with: | |
repository: bioexcel/biobb_workflows | |
path: ./ | |
- name: Copy Dockerfile | |
run: | | |
cp common/docker/Dockerfile biobb_wf_amber_abc_setup/docker/Dockerfile | |
sed -i '67a\ cp -r /data/ABCix_config_files /data/wf_notebook/ABCix_config_files; \\' biobb_wf_amber_abc_setup/docker/Dockerfile | |
cp common/docker/Dockerfile biobb_wf_amber_md_setup/docker/Dockerfile | |
cp common/docker/Dockerfile biobb_wf_amber_md_setup_lig/docker/Dockerfile | |
cp common/docker/Dockerfile biobb_wf_cmip/docker/Dockerfile | |
sed -i '67a\ cp -r /data/Files /data/wf_notebook/Files; \\' biobb_wf_cmip/docker/Dockerfile | |
cp common/docker/Dockerfile biobb_wf_dna_helparms/docker/Dockerfile | |
sed -i '38a# Copy the .curvesplus folder into the Docker image' biobb_wf_dna_helparms/docker/Dockerfile | |
sed -i '39aCOPY .curvesplus /opt/conda/envs/$REPOSITORY' biobb_wf_dna_helparms/docker/Dockerfile | |
sed -i '40a\\' biobb_wf_dna_helparms/docker/Dockerfile | |
sed -i '70a\ cp -r /data/TRAJ /data/wf_notebook/TRAJ; \\' biobb_wf_dna_helparms/docker/Dockerfile | |
cp common/docker/Dockerfile biobb_wf_flexdyn/docker/Dockerfile | |
cp common/docker/Dockerfile biobb_wf_flexserv/docker/Dockerfile | |
sed -i '67a\ cp -r /data/Files /data/wf_notebook/Files; \\' biobb_wf_flexserv/docker/Dockerfile | |
cp common/docker/Dockerfile biobb_wf_godmd/docker/Dockerfile | |
cp common/docker/Dockerfile biobb_wf_ligand_parameterization/docker/Dockerfile | |
cp common/docker/Dockerfile biobb_wf_md_setup/docker/Dockerfile | |
cp common/docker/Dockerfile biobb_wf_pmx_tutorial/docker/Dockerfile | |
sed -i '67a\ cp -r /data/pmx_tutorial /data/wf_notebook/pmx_tutorial; \\' biobb_wf_pmx_tutorial/docker/Dockerfile | |
cp common/docker/Dockerfile biobb_wf_protein-complex_md_setup/docker/Dockerfile | |
cp common/docker/Dockerfile biobb_wf_structure_checking/docker/Dockerfile | |
cp common/docker/Dockerfile biobb_wf_virtual-screening_fpocket/docker/Dockerfile | |
- name: Commit and push changes | |
run: | | |
git config --global user.name 'github-actions[bot]' | |
git config --global user.email 'github-actions[bot]@users.noreply.github.com' | |
git add */docker/Dockerfile && git commit -m "Updated Dockerfile" && git push |