Skip to content

Commit 66b3b17

Browse files
Update oragnization and repo name to be in lower case (#8)
* Update initialize.yml to lowercase organization and repo name * Update docker-compose.yaml with lowercase organization name
1 parent 0ce9363 commit 66b3b17

File tree

2 files changed

+7
-6
lines changed

2 files changed

+7
-6
lines changed

.github/workflows/initialize.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,8 @@ jobs:
3232
# Replaces the template repository name in the docker config file with the new one
3333
- name: Update docker-compose.yaml
3434
run: |
35-
sed -i "s|FAIRmat-NFDI/nomad-distribution-template|${{ github.repository }}|g" docker-compose.yaml
35+
export image_name="${{ github.repository }}"
36+
sed -i "s|fairmat-nfdi/nomad-distribution-template|${image_name,,}|g" docker-compose.yaml
3637
mkdir nomad-oasis
3738
cp docker-compose.yaml nomad-oasis
3839
zip -ur nomad-oasis.zip nomad-oasis
@@ -48,4 +49,4 @@ jobs:
4849
git config --global user.name github-actions
4950
git config --global user.email [email protected]
5051
git commit -am "Repository initialization"
51-
git push
52+
git push

docker-compose.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ services:
7070
# nomad worker (processing)
7171
worker:
7272
restart: unless-stopped
73-
image: ghcr.io/FAIRmat-NFDI/nomad-distribution-template:main
73+
image: ghcr.io/fairmat-nfdi/nomad-distribution-template:main
7474
container_name: nomad_oasis_worker
7575
environment:
7676
NOMAD_SERVICE: nomad_oasis_worker
@@ -93,7 +93,7 @@ services:
9393
# nomad app (api + proxy)
9494
app:
9595
restart: unless-stopped
96-
image: ghcr.io/FAIRmat-NFDI/nomad-distribution-template:main
96+
image: ghcr.io/fairmat-nfdi/nomad-distribution-template:main
9797
container_name: nomad_oasis_app
9898
environment:
9999
NOMAD_SERVICE: nomad_oasis_app
@@ -132,7 +132,7 @@ services:
132132
# nomad remote tools hub (JupyterHUB, e.g. for AI Toolkit)
133133
north:
134134
restart: unless-stopped
135-
image: ghcr.io/FAIRmat-NFDI/nomad-distribution-template:main
135+
image: ghcr.io/fairmat-nfdi/nomad-distribution-template:main
136136
container_name: nomad_oasis_north
137137
environment:
138138
NOMAD_SERVICE: nomad_oasis_north
@@ -167,7 +167,7 @@ services:
167167
# to enable the logtransfer service run "docker compose --profile with_logtransfer up"
168168
logtransfer:
169169
restart: unless-stopped
170-
image: ghcr.io/FAIRmat-NFDI/nomad-distribution-template:main
170+
image: ghcr.io/fairmat-nfdi/nomad-distribution-template:main
171171
container_name: nomad_oasis_logtransfer
172172
environment:
173173
NOMAD_SERVICE: nomad_oasis_logtransfer

0 commit comments

Comments
 (0)