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] 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