Image_pull_secret on event: pull_request


I created a secret with docker (json) credentials and it’s working for every pipeline. But, for pull_requests it seems not to be working and I do not know the reason.

The secret reference is exactly the same for normal trigger and pull_request trigger (adding by image_pull_request) for private docker registry (I’m using harbor, btw).

When I add the orgsecret I used the flag --allow-pull-request. but, even with this flag doesn’t seem to be working.

Organization:       organization
Pull Request Read:  true
Pull Request Write: false

and my drone.yml

- harbor_config_json

Anyone with this issue?

Thanks :smile:

Ops, I did some mistake here.

Now it’s working! :slight_smile: