Skip to content

Commit e0da023

Browse files
authored
Merge pull request #154 from almahmoud/update-container
Update requirements and add container building GHA
2 parents 132b891 + 9cfa99c commit e0da023

3 files changed

Lines changed: 26 additions & 2 deletions

File tree

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
name: Build Image
2+
on:
3+
workflow_dispatch: {}
4+
push:
5+
branches:
6+
- 'master'
7+
jobs:
8+
build:
9+
name: Build image
10+
runs-on: ubuntu-latest
11+
strategy:
12+
fail-fast: false
13+
steps:
14+
- uses: actions/checkout@v2
15+
- run: docker build . -t galaxy/cloudman-server:latest
16+
- name: Login to docker hub
17+
uses: actions-hub/docker/login@master
18+
env:
19+
DOCKER_USERNAME: ${{ secrets.DOCKERHUB_USERNAME }}
20+
DOCKER_PASSWORD: ${{ secrets.DOCKERHUB_PASSWORD }}
21+
- name: Push to docker hub
22+
uses: actions-hub/docker@master
23+
with:
24+
args: push galaxy/cloudman-server:latest

cloudman/cloudman/settings.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@
9696
import yaml
9797
with open(CM_GLOBAL_CONTEXT_PATH) as f:
9898
print(f"Loading cloudman global context from: {CM_GLOBAL_CONTEXT_PATH}")
99-
CM_GLOBAL_CONTEXT = yaml.load(f)
99+
CM_GLOBAL_CONTEXT = yaml.safe_load(f)
100100
else:
101101
CM_GLOBAL_CONTEXT = {}
102102

requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ pydevd>=1.0.0
1010
# jinja2 for rendering install templates
1111
jinja2
1212
# get latest package versions for now
13-
git+https://github.com/CloudVE/cloudbridge
13+
git+https://github.com/CloudVE/cloudbridge#egg=cloudbridge[full]
1414
git+https://github.com/CloudVE/djcloudbridge
1515
# Leave cloudlaunch-cli before cloudlaunch-server due to coreapi version mismatch
1616
git+https://github.com/CloudVE/cloudlaunch-cli

0 commit comments

Comments
 (0)