diff --git a/.github/workflows/dfscan.yml b/.github/workflows/dfscan.yml index 1eb5d8f..9f33388 100644 --- a/.github/workflows/dfscan.yml +++ b/.github/workflows/dfscan.yml @@ -35,5 +35,5 @@ jobs: repoVersion=${{ github.ref_name }} fi echo $GITHUB_WORKSPACE - echo ${{ github.workspace }} - docker run --pull=always --rm -e DF_RUN_TOKEN=$DF_RUN_TOKEN -v /var/run/docker.sock:/var/run/docker.sock public.ecr.aws/deepfactor/df/runtime:$DFCTL_VERSION dfctl scan -s fs -a $APP_NAME -c $APP_NAME -V $repoVersion $PROJDIR + ls ${{ github.workspace }} + docker run --pull=always --rm -e DF_RUN_TOKEN=$DF_RUN_TOKEN -v $PROJDIR:/home/projdir -v /var/run/docker.sock:/var/run/docker.sock public.ecr.aws/deepfactor/df/runtime:$DFCTL_VERSION dfctl scan -s fs -a $APP_NAME -c $APP_NAME -V $repoVersion $/home/projdir diff --git a/Dockerfile b/Dockerfile index 25ad06b..8a8ebbe 100644 --- a/Dockerfile +++ b/Dockerfile @@ -8,7 +8,7 @@ RUN ./gradlew build FROM openjdk:8-jre as APP -RUN apt update && apt install -y netcat +#RUN apt update && apt install -y netcat EXPOSE 8080