You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
How to use self hosted dockerhub mirror the this github action.
Is there any way to mention my self hosted dockerhub image company.com/dockehub/mikefarah/yq:4-githubaction
Here this image company.com/dockehub/mikefarah/yq:4-githubaction is copy of mikefarah/yq:4-githubaction can this be achieved ?
The text was updated successfully, but these errors were encountered:
In GitHub Enterprise Server and GitHub self-hosted runners environment, you can resolve this issue as follows:
I solved dockerhub rate limit issue by setting up a public mirror ECR and changing the image reference in the action. This approach doesn't require container registry login since it runs within the action itself.
Mirror source container imagemikefarah/yq:4-githubaction by ECR Pull Through Cache feature
Change image value reference in the action to use this public ECR address.
# yq/action.ymlruns:
# To avoid docker rate limit, change my public ECRusing: 'docker'image: 'docker://<YOUR_PUBLIC-MIRRORED.CONTAINER_REGISTRY.COM>/github-actions/yq:4-githubaction'args:
- ${{ inputs.cmd }}
How to use self hosted dockerhub mirror the this github action.
Is there any way to mention my self hosted dockerhub image company.com/dockehub/mikefarah/yq:4-githubaction
Here this image company.com/dockehub/mikefarah/yq:4-githubaction is copy of mikefarah/yq:4-githubaction can this be achieved ?
The text was updated successfully, but these errors were encountered: