Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Could not resolve host #4

@osmollo

Description

@osmollo

Hi,

I'm executing your github action with this code:

    - name: send md5sum file to gitlab release
      uses: wei/curl@v1
      with:
        args: "-X POST \"https://gitlab.com/api/v4/projects/XXX/releases/A.B.C/assets/links\" -H \"Private-Token: ${{ secrets.GITLABTOKEN }}\" --data name=\"file1\" --data url=\"https://github.com/me/XXX/releases/download/A.B.C/file1\""

But when it runs:

/usr/bin/docker run --name blablabla --label blablabla --workdir /github/workspace --rm [...] blablabla -X POST "https://gitlab.com/api/v4/projects/XXX/releases/A.B.C/assets/links" -H "Private-Token: ***" --data name="file1" --data url="https://github.com/ME/gorkscrew/XXX/download/A.B.C/file1"
curl: (22) The requested URL returned error: 403 
curl: (6) Could not resolve host: ***

With another actions, i've installed packages from repositories and download files from internet, so there's no problem with internet access. Could you try to resolv gitlab.com domain inside your container? Could you guess what's happening?

Thanks and best regards

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions