Installing packer in our Github Action Runners in restricted environment (No public internet)

Hello

There is a requirement where we want to install packer and respective plugins (for AWS and Azure) in our git hub action runner but there will be no internet access.

We are using jfrog artifactory for managing our software packages and also for proxying remote repositories like EPEL, Microsoft etc.

I want to understand can we implement the same strategy for downloading and installing packer and binaries.

I have gone through the documentation and found the following repo required to be configured for Packer https://rpm.releases.hashicorp.com/

But it doesn’t have repo data available so bit confused here if we can set it up as remote repositories.

Please do suggest what other possibilities anyone has tried to manage packer installation in a restricted environment.