Skip to content

Commit

Permalink
Update oragnization and repo name to be in lower case (#8)
Browse files Browse the repository at this point in the history
* Update initialize.yml to lowercase organization and repo name

* Update docker-compose.yaml with lowercase organization name
  • Loading branch information
hampusnasstrom authored Mar 18, 2024
1 parent 0ce9363 commit 66b3b17
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 6 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/initialize.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,8 @@ jobs:
# Replaces the template repository name in the docker config file with the new one
- name: Update docker-compose.yaml
run: |
sed -i "s|FAIRmat-NFDI/nomad-distribution-template|${{ github.repository }}|g" docker-compose.yaml
export image_name="${{ github.repository }}"
sed -i "s|fairmat-nfdi/nomad-distribution-template|${image_name,,}|g" docker-compose.yaml
mkdir nomad-oasis
cp docker-compose.yaml nomad-oasis
zip -ur nomad-oasis.zip nomad-oasis
Expand All @@ -48,4 +49,4 @@ jobs:
git config --global user.name github-actions
git config --global user.email [email protected]
git commit -am "Repository initialization"
git push
git push
8 changes: 4 additions & 4 deletions docker-compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ services:
# nomad worker (processing)
worker:
restart: unless-stopped
image: ghcr.io/FAIRmat-NFDI/nomad-distribution-template:main
image: ghcr.io/fairmat-nfdi/nomad-distribution-template:main
container_name: nomad_oasis_worker
environment:
NOMAD_SERVICE: nomad_oasis_worker
Expand All @@ -93,7 +93,7 @@ services:
# nomad app (api + proxy)
app:
restart: unless-stopped
image: ghcr.io/FAIRmat-NFDI/nomad-distribution-template:main
image: ghcr.io/fairmat-nfdi/nomad-distribution-template:main
container_name: nomad_oasis_app
environment:
NOMAD_SERVICE: nomad_oasis_app
Expand Down Expand Up @@ -132,7 +132,7 @@ services:
# nomad remote tools hub (JupyterHUB, e.g. for AI Toolkit)
north:
restart: unless-stopped
image: ghcr.io/FAIRmat-NFDI/nomad-distribution-template:main
image: ghcr.io/fairmat-nfdi/nomad-distribution-template:main
container_name: nomad_oasis_north
environment:
NOMAD_SERVICE: nomad_oasis_north
Expand Down Expand Up @@ -167,7 +167,7 @@ services:
# to enable the logtransfer service run "docker compose --profile with_logtransfer up"
logtransfer:
restart: unless-stopped
image: ghcr.io/FAIRmat-NFDI/nomad-distribution-template:main
image: ghcr.io/fairmat-nfdi/nomad-distribution-template:main
container_name: nomad_oasis_logtransfer
environment:
NOMAD_SERVICE: nomad_oasis_logtransfer
Expand Down

0 comments on commit 66b3b17

Please sign in to comment.