Girish
Girish

Reputation: 201

Webhooks for Oracle Cloud Infrastructure - container registry

Looking for a solution to this use case

  1. Docker image is pushed to Oracle Cloud Infrastructure - container registry (OCIR)
  2. Jenkins has a webhook on the OCIR and Jenkins pipeline gets triggered as a new image is available in OCIR

How is it possible to have a webhook or some kind of mechanish for letting Jenkins know there is a new push to OCIR?

Upvotes: 0

Views: 233

Answers (2)

Ashok CM
Ashok CM

Reputation: 56

We can listen to the OCI container registry events via Service Connector. You can configure Service Connector to invoke your custom functions on a specific event 'Container Image - Upload' under service name 'Registry'.

You can find a sample illustration below to perform some custom tasks during an image upload to OCI Container Registry.

Ref: https://github.com/RahulMR42/oci-devops-deploy-on-imageupload

Upvotes: 0

mrtaylor2112
mrtaylor2112

Reputation: 174

This blog post walks you thru how to set up a continuous pipeline that may be able to be used in full or in part to accomplish this

https://blogs.oracle.com/cloud-infrastructure/build-a-continuous-integration-pipeline-using-github,-docker-and-jenkins-on-oracle-cloud-infrastucture

Upvotes: 0

Related Questions