Skip to content

Commit

Permalink
Update initialize.yml to lowercase organization and repo name
Browse files Browse the repository at this point in the history
  • Loading branch information
hampusnasstrom authored Mar 18, 2024
1 parent 0ce9363 commit 6fc08f8
Showing 1 changed file with 3 additions and 2 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

0 comments on commit 6fc08f8

Please sign in to comment.