Skip to content

Commit

Permalink
Correctly replace image name in README
Browse files Browse the repository at this point in the history
  • Loading branch information
hampusnasstrom committed Oct 1, 2024
1 parent f61fe63 commit 21bc2e7
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions .github/workflows/initialize.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 21bc2e7

Please sign in to comment.