From 21bc2e7174195b2f80ed81860dc9e2456a6d6052 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Hampus=20N=C3=A4sstr=C3=B6m?= Date: Tue, 1 Oct 2024 12:26:55 +0200 Subject: [PATCH] Correctly replace image name in README --- .github/workflows/initialize.yml | 2 ++ README.md | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/initialize.yml b/.github/workflows/initialize.yml index 401c556..5ed2e66 100644 --- a/.github/workflows/initialize.yml +++ b/.github/workflows/initialize.yml @@ -26,6 +26,8 @@ jobs: - name: Update README run: | sed -i "/# NOMAD Oasis Distribution/,/button on the right./d" README.md + export image_name="${{ github.repository }}" + sed -i "s|fairmat-nfdi/nomad-distribution-template|${image_name,,}|g" README.md sed -i "s|FAIRmat-NFDI/nomad-distribution-template|${{ github.repository }}|g" README.md sed -i "s|FAIRmat-NFDI|${{ github.repository_owner }}|g" README.md sed -i "s|nomad-distribution-template|${{ github.event.repository.name }}|g" README.md diff --git a/README.md b/README.md index 2b34d28..682fe73 100644 --- a/README.md +++ b/README.md @@ -118,7 +118,7 @@ You can find more details on setting up and maintaining an Oasis in the NOMAD do ### For an existing Oasis If you already have an Oasis running you only need to change the image being pulled in -your `docker-compose.yaml` with `ghcr.io/FAIRmat-NFDI/nomad-distribution-template:main` for the services +your `docker-compose.yaml` with `ghcr.io/fairmat-nfdi/nomad-distribution-template:main` for the services `worker`, `app`, `north`, and `logtransfer`. If you want to use the `nomad.yaml` from this repository you also need to comment out