You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@skywalking.apache.org by li...@apache.org on 2021/08/13 10:13:51 UTC

[skywalking-infra-e2e] branch main updated: Fix wrong GHA volume bind (#35)

This is an automated email from the ASF dual-hosted git repository.

liuhan pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/skywalking-infra-e2e.git


The following commit(s) were added to refs/heads/main by this push:
     new de5be41  Fix wrong GHA volume bind (#35)
de5be41 is described below

commit de5be41596f27867a15ab75dbad97ea538d863b8
Author: mrproliu <74...@qq.com>
AuthorDate: Fri Aug 13 18:13:44 2021 +0800

    Fix wrong GHA volume bind (#35)
    
    * Fix wrong GHA volume bind
    
    Co-authored-by: Mrproliu <mr...@lagou.com>
---
 action.yaml | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/action.yaml b/action.yaml
index 25b9c8e..0ced170 100644
--- a/action.yaml
+++ b/action.yaml
@@ -29,6 +29,7 @@ runs:
       run: make -C $GITHUB_ACTION_PATH docker
     - shell: bash
       run: |
-        docker run -v $(pwd):/github/workspace \
+        docker run -v $GITHUB_WORKSPACE:$GITHUB_WORKSPACE \
                    -v /var/run/docker.sock:/var/run/docker.sock \
+                   -w $GITHUB_WORKSPACE \
                    docker.io/apache/e2e:latest run -c "${{ inputs.e2e-file }}"