Git Product home page Git Product logo

docker-lint-action's People

Contributors

dependabot[bot] avatar guikcd avatar luke142367 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

docker-lint-action's Issues

Docker lint fail

Hi
I'm trying to use you action
But receiving next error

Error Error: Received status code 403
    at IncomingMessage.res.on (/.docker-lint-action/src/request.js:12:23)
    at IncomingMessage.emit (events.js:198:15)
    at endReadableNT (_stream_readable.js:1139:12)
    at processTicksAndRejections (internal/process/task_queues.js:81:17)
{"message":"You must authenticate via a GitHub App.","documentation_url":"https://developer.github.com/v3/checks/runs/#create-a-check-run"}
Dockerfile Lint failed

Could you please help?
Thanks

Print found issue(s) into the log output

In case of such action was added to the repo with existing Dockerfile it's started to fail build even if Dockerfile isn't changed. As a result, no comments on what is wrong. It would be nice to print found issues into the log output.

Fail on scheduled task

Hi,

I use schedule to update my Docker images.

It seem that your action fail on scheduled build without author :

const { owner: { login: owner }, } = repository;
        ^

TypeError: Cannot destructure property `owner` of 'undefined' or 'null'.
    at Object.<anonymous> (/.docker-lint-action/build/check.js:22:38)
    at Module._compile (internal/modules/cjs/loader.js:816:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:827:10)
    at Module.load (internal/modules/cjs/loader.js:685:32)
    at Function.Module._load (internal/modules/cjs/loader.js:620:12)
    at Module.require (internal/modules/cjs/loader.js:723:19)
    at require (internal/modules/cjs/helpers.js:14:16)
    at Object.<anonymous> (/.docker-lint-action/build/main.js:16:17)
    at Module._compile (internal/modules/cjs/loader.js:816:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:827:10)
Dockerfile Lint failed

Error HttpError: Resource not accessible by integration

Any idea why I'm getting this?

2020-09-30T08:02:04.4619282Z ##[group]Run luke142367/[email protected]
2020-09-30T08:02:04.4619695Z with:
2020-09-30T08:02:04.4619977Z   target: docker/Dockerfile-*
2020-09-30T08:02:04.4620248Z env:
2020-09-30T08:02:04.4621272Z   GITHUB_TOKEN: ***
2020-09-30T08:02:04.4621519Z ##[endgroup]
2020-09-30T08:02:04.4652538Z ##[command]/usr/bin/docker run --name aac2aab726ce5aa9da47fe923b70b53374372b_888938 --label aac2aa --workdir /github/workspace --rm -e GITHUB_TOKEN -e INPUT_TARGET -e HOME -e GITHUB_JOB -e GITHUB_REF -e GITHUB_SHA -e GITHUB_REPOSITORY -e GITHUB_REPOSITORY_OWNER -e GITHUB_RUN_ID -e GITHUB_RUN_NUMBER -e GITHUB_ACTOR -e GITHUB_WORKFLOW -e GITHUB_HEAD_REF -e GITHUB_BASE_REF -e GITHUB_EVENT_NAME -e GITHUB_SERVER_URL -e GITHUB_API_URL -e GITHUB_GRAPHQL_URL -e GITHUB_WORKSPACE -e GITHUB_ACTION -e GITHUB_EVENT_PATH -e GITHUB_PATH -e GITHUB_ENV -e RUNNER_OS -e RUNNER_TOOL_CACHE -e RUNNER_TEMP -e RUNNER_WORKSPACE -e ACTIONS_RUNTIME_URL -e ACTIONS_RUNTIME_TOKEN -e ACTIONS_CACHE_URL -e GITHUB_ACTIONS=true -e CI=true -v "/var/run/docker.sock":"/var/run/docker.sock" -v "/home/runner/work/_temp/_github_home":"/github/home" -v "/home/runner/work/_temp/_github_workflow":"/github/workflow" -v "/home/runner/work/_temp/_runner_file_commands":"/github/file_commands" -v "/home/runner/work/arcor2/arcor2":"/github/workspace" aac2aa:b726ce5aa9da47fe923b70b53374372b
2020-09-30T08:02:05.2247762Z Error HttpError: Resource not accessible by integration
2020-09-30T08:02:05.2249254Z     at response.text.then.message (/.docker-lint-action/node_modules/@octokit/request/dist-node/index.js:66:23)
2020-09-30T08:02:05.2250159Z     at processTicksAndRejections (internal/process/task_queues.js:86:5)
2020-09-30T08:02:05.2282012Z Dockerfile Lint failed

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.