From 6fc08f870066b41bcfa9d33b6feeac6a6b58beb7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Hampus=20N=C3=A4sstr=C3=B6m?= Date: Mon, 18 Mar 2024 11:22:30 +0100 Subject: [PATCH 1/2] Update initialize.yml to lowercase organization and repo name --- .github/workflows/initialize.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/initialize.yml b/.github/workflows/initialize.yml index 40faec5..db29826 100644 --- a/.github/workflows/initialize.yml +++ b/.github/workflows/initialize.yml @@ -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 @@ -48,4 +49,4 @@ jobs: git config --global user.name github-actions git config --global user.email github-actions@github.com git commit -am "Repository initialization" - git push \ No newline at end of file + git push From 1be13f1a322f4e9ca6c919cf433dc51bb8c8737d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Hampus=20N=C3=A4sstr=C3=B6m?= Date: Mon, 18 Mar 2024 11:24:24 +0100 Subject: [PATCH 2/2] Update docker-compose.yaml with lowercase organization name --- docker-compose.yaml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/docker-compose.yaml b/docker-compose.yaml index 13f6179..8483e50 100644 --- a/docker-compose.yaml +++ b/docker-compose.yaml @@ -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 @@ -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 @@ -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 @@ -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