allow variable expansion in sed command
Signed-off-by: ReenigneArcher <42013603+ReenigneArcher@users.noreply.github.com>
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user