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
Expected behavior and actual behavior:
On PUSH_ARTIFACT event by a robot account (from CI) the eventètype.resources.tag field is set with the image's digest instead of the actual tag
Steps to reproduce the problem:
configure a webhook on a projet
push an image to this project using a robot account and check the Webhooks payload:
Did you push the image on the same client by robot account and normal user? I've tried to push the same image with robot account and normal user, and got the correct tag when using robot account.
{
"type": "PUSH_ARTIFACT",
"occur_at": 1727084023,
"operator": "robot$robot-user1", <--- this is a robot user"event_data": {
"resources": [
{
"digest": "sha256:01908c2ed615f2ce1d8de01375116d8542ede0daf8af5bb3854f9a32fcb0f2f4",
"tag": "latest", <--- got the tag correctly"resource_url": "harbor.local/library/hello-world:latest"
}
],
"repository": {
"date_created": 1727084023,
"name": "hello-world",
"namespace": "library",
"repo_full_name": "library/hello-world",
"repo_type": "public"
}
}
}
Expected behavior and actual behavior:
On PUSH_ARTIFACT event by a robot account (from CI) the
eventètype.resources.tag
field is set with the image's digest instead of the actual tagSteps to reproduce the problem:
Versions:
The text was updated successfully, but these errors were encountered: