diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 6b969ef..cc37403 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -106,7 +106,13 @@ jobs: - name: Update action.yml to use edge tagged container image if: github.ref == 'refs/heads/main' run: | - sed -i 's/.*image\:.*/ image\: \"docker\:\/\/ghcr.io\/${{ github.repository_owner }}\/${{ github.event.repository.name }}\:edge\"/' action.yml + REPOSITORY_OWNER=${{ github.repository_owner }} + REPOSITORY_OWNER=$(echo $REPOSITORY_OWNER | tr '[:upper:]' '[:lower:]') + + REPOSITORY_NAME=${{ github.event.repository.name }} + REPOSITORY_NAME=$(echo $REPOSITORY_NAME | tr '[:upper:]' '[:lower:]') + + sed -i 's/.*image\:.*/ image\: \"docker\:\/\/ghcr.io\/${REPOSITORY_OWNER}\/${REPOSITORY_NAME}\:edge\"/' action.yml cat action.yml - name: Running test