Image_pull_secret on event: pull_request

Hello,

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.

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

and my drone.yml

image_pull_secrets:
- harbor_config_json

Anyone with this issue?

Thanks :smile:

Ops, I did some mistake here.

Now it’s working! :slight_smile: