Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow specifying base docker image as an argument #43

Open
ns-ksingh opened this issue Sep 8, 2024 · 0 comments
Open

Allow specifying base docker image as an argument #43

ns-ksingh opened this issue Sep 8, 2024 · 0 comments

Comments

@ns-ksingh
Copy link

Since this action downloads python:alpine base image off DockerHub, at times it will randomly fail since we hit DockerHub ratelimits.

We have an internal artifactory which caches docker images and if the action accepted an argument to specify the image name this would fix the random failures.

- name: yamllint
   uses: reviewdog/action-yamllint@4e4ba96d03a0e12a0e71c29e5fef1db309d09201
   with:
     reporter: github-pr-review
     yamllint_flags: '. --no-warnings'
     docker_image: 'internal.docker-repo.example.com/python-alpine'

If no docker_image argument is provided, use the base image off DockerHub.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant