Skip to content

Commit

Permalink
Merge pull request #213 from rasools/OMICSINT_H24
Browse files Browse the repository at this point in the history
Update toplogy lab
  • Loading branch information
rasools authored Oct 8, 2024
2 parents ec5cfa3 + e338302 commit 582ac99
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 1 deletion.
18 changes: 18 additions & 0 deletions .github/workflows/Build and Push Docker Images for Labs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ on:
- 'session_ml/UMAP_DataIntegration/**'
- 'session_gems/**'
- 'session_gsa/**'
- 'session_toplogy/**'
branches:
- OMICSINT_H24

Expand Down Expand Up @@ -81,6 +82,9 @@ jobs:
if git diff --name-only ${{ github.event.before }} ${{ github.sha }} | grep -q '^session_gsa'; then
echo "gsa=true" >> $GITHUB_ENV
fi
if git diff --name-only ${{ github.event.before }} ${{ github.sha }} | grep -q '^session_topology'; then
echo "topology=true" >> $GITHUB_ENV
fi
# Conditionally build and push images for Deep Learning Lab
- name: Build and Push Docker Image for Deep Learning Lab
Expand Down Expand Up @@ -195,4 +199,18 @@ jobs:
tags: |
docker.io/rasoolsnbis/omicsint_h24:session_gsa_amd_v.h24.${{ env.SHORT_SHA }}
ghcr.io/nbisweden/omicsint_h24:session_gsa_amd_v.h24.${{ env.SHORT_SHA }}
# Conditionally build and push images for Topology lab
- name: Build and Push Docker Image for Topology Lab
if: env.topology == 'true'
uses: docker/build-push-action@v4
with:
context: ./session_topology
file: session_topology/Dockerfile
platforms: linux/amd64
push: true
no-cache: true
tags: |
docker.io/rasoolsnbis/omicsint_h24:session_topology_amd_v.h24.${{ env.SHORT_SHA }}
ghcr.io/nbisweden/omicsint_h24:session_topology_amd_v.h24.${{ env.SHORT_SHA }}
2 changes: 1 addition & 1 deletion session_topology/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -49,4 +49,4 @@ RUN jupyter notebook --generate-config && \
echo "c.NotebookApp.open_browser = False" >> /home/jovyan/.jupyter/jupyter_notebook_config.py

# Set the startup script as the entrypoint
ENTRYPOINT ["/usr/local/bin/start-script.sh"]
ENTRYPOINT ["/usr/local/bin/start-script.sh"]

0 comments on commit 582ac99

Please sign in to comment.