-
Notifications
You must be signed in to change notification settings - Fork 9
40 lines (30 loc) · 1.17 KB
/
docker-nwbe.yml
File metadata and controls
40 lines (30 loc) · 1.17 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
name: Docker Image Build NWB Explorer
on:
push:
branches: [ master, dev*, feature/docker*, feature/repo*, jupyterhub-update ]
pull_request:
branches: [ master, dev*, feature/docker*, feature/repo*, jupyterhub-update ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Clone NWB Explorer dependencies
run: |
mkdir -p applications/nwb-explorer/dependencies
export URL=$(grep "url:" applications/nwb-explorer/deploy/values.yaml | awk '{print $3}')
export BRANCH_TAG=$(grep "branch_tag:" applications/nwb-explorer/deploy/values.yaml | awk '{print $2}')
echo "Using branch: $BRANCH_TAG on $URL"
git clone --branch $BRANCH_TAG $URL applications/nwb-explorer/dependencies/nwb-explorer
ls -alt applications/nwb-explorer/dependencies/nwb-explorer
- name: Build the Docker image
run: |
cd applications/nwb-explorer
./build_local.sh
- name: Info on Docker image sizes
run: |
docker images
- name: Run the Docker container and list python installs
run: |
cd applications/nwb-explorer
./pip_info.sh