Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add quay webhook #118

Merged
merged 2 commits into from
Jan 15, 2021
Merged

Add quay webhook #118

merged 2 commits into from
Jan 15, 2021

Conversation

somtochiama
Copy link
Member

@somtochiama somtochiama commented Jan 15, 2021

Fixes #114

Signed-off-by: Somtochi Onyekwere [email protected]

Signed-off-by: Somtochi Onyekwere <[email protected]>
Copy link
Member

@stefanprodan stefanprodan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.


var p payload
if err := json.NewDecoder(r.Body).Decode(&p); err != nil {
return fmt.Errorf("cannot decode DockerHub webhook payload")
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
return fmt.Errorf("cannot decode DockerHub webhook payload")
return fmt.Errorf("cannot decode Quay webhook payload")

Signed-off-by: Somtochi Onyekwere <[email protected]>
Copy link
Member

@stefanprodan stefanprodan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Thanks @somtochiama

@stefanprodan stefanprodan merged commit 830e4bc into fluxcd:main Jan 15, 2021
@somtochiama somtochiama deleted the quay-webhook branch March 3, 2021 06:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Quay webhook receiver
2 participants