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

Feature request: Allow for replacing FROM image in locked down environments #333

Open
viper-cool79 opened this issue Apr 12, 2024 · 0 comments

Comments

@viper-cool79
Copy link

Why?

This action is utilizing (like most I assume) a Dockerfile where the FROM points to ghcr.io. This might be blocked in certain circumstances and thus I wish for a way to input a custom image URL in a fashion similar to other settings in this action:

[...]
      - name: Run Trivy vulnerability scanner
        uses: aquasecurity/trivy-action@master
        with:
          base-image: 'sub.domain.tld/namespace/trivy:0.50.1'
[...]

This issue comes with a suggested and ugly drafted pull request, so if someone has a better idea on how to solve this without cloning the repo and switching this one FROM on the inside please feel free to suggest solutions.

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