allow variable expansion in sed command

Signed-off-by: ReenigneArcher <42013603+ReenigneArcher@users.noreply.github.com>
This commit is contained in:
ReenigneArcher
2022-07-28 20:35:45 -04:00
parent 618a0ba862
commit d3aea41d02
+1 -1
View File
@@ -112,7 +112,7 @@ jobs:
REPOSITORY_NAME=${{ github.event.repository.name }} REPOSITORY_NAME=${{ github.event.repository.name }}
REPOSITORY_NAME=$(echo $REPOSITORY_NAME | tr '[:upper:]' '[:lower:]') REPOSITORY_NAME=$(echo $REPOSITORY_NAME | tr '[:upper:]' '[:lower:]')
sed -i 's/.*image\:.*/ image\: \"docker\:\/\/ghcr.io\/${REPOSITORY_OWNER}\/${REPOSITORY_NAME}\:edge\"/' action.yml sed -i "s/.*image\:.*/ image\: \"docker\:\/\/ghcr.io\/${REPOSITORY_OWNER}\/${REPOSITORY_NAME}\:edge\"/" action.yml
cat action.yml cat action.yml
- name: Running test - name: Running test