IP address is not permitted to access this resource
Contributing guidelines
- [X] I've read the contributing guidelines and wholeheartedly agree
I've found a bug, and:
- [X] The documentation does not mention anything about my problem
- [X] There are no open or closed issues that are related to my problem
Description
ERROR :-
Run docker/metadata-action@v4
Error: Although you appear to have the correct authorization credentials, the ORG_NAME organization has an IP allow list enabled, and your IP address is not permitted to access this resource.
Expected behaviour
Need to pass
Actual behaviour
ERROR :-
Run docker/metadata-action@v4
Error: Although you appear to have the correct authorization credentials, the ORG_NAME organization has an IP allow list enabled, and your IP address is not permitted to access this resource.
Repository URL
No response
Workflow run URL
No response
YAML workflow
- name: Docker Meta
id: meta
uses: docker/metadata-action@v4
with:
context: git
images: |
${{ inputs.docker_registry }}/${{ inputs.image_name }}
tags: |
# Get image tag as master
type=raw,value=master,enable=${{ github.ref == format('refs/heads/{0}', 'master') && contains(matrix.dockerfile-path, 'alpine') }}
Workflow logs
No response
BuildKit logs
No response
Additional info
No response
@nicksieger @yano3 @frison @rumpl
Kindly look into it...
> Error: Although you appear to have the correct authorization credentials, the `ORG_NAME` organization has an IP allow list enabled, and your IP address is not permitted to access this resource.
Where this error comes from? Please post logs of your workflow.
Hi @crazy-max It just works, when I passed my custom PAT Token github-token: ${{ secrets.TOKEN_GITHUB }}