Salck notification for new image pushed to ACR

Richa Mishra 1 Reputation point
2022-06-21T12:26:31.097+00:00

Hi Team,
I want to get notified on slack if a new image tag is pushed to ACR. I tried using the Webhook feature in the services section of ACR but no luck, when i am trying to ping it , getting 400 error,

Azure Container Registry
Azure Container Registry
An Azure service that provides a registry of Docker and Open Container Initiative images.
511 questions
0 comments No comments
{count} votes

2 answers

Sort by: Most helpful
  1. Andriy Bilous 11,821 Reputation points MVP Volunteer Moderator
    2022-06-21T14:22:29.877+00:00

    Hello @Richa Mishra

    You can send notification to Slack when new image is pushed into ACR using Slack Incoming Webhooks and ACR webhooks
    Here are the steps you will need to integrate ACR with Slack:

    • Create a Slack app
    • Activate Incoming Webhooks
    • Create an Incoming Webhook in Slack App
    • Use your Incoming Webhook URL to post a message
    • Create webhook in ACR and point it to Slack App Webhook URL

    213426-image.png

    https://dev.to/peterj/send-a-slack-message-when-docker-images-are-updated-3f4c

    If you think your question has been answered, click "Mark as Answer" if just helped click "Vote as helpful". This can be beneficial to other community members reading this forum thread.

    1 person found this answer helpful.
    0 comments No comments

  2. Richa Mishra 1 Reputation point
    2022-06-22T05:05:34.703+00:00

    Hi Team, I tried the above steps mentioned by you, but somehow when i am performing ping action for the request, it is giving 400 error, bad request213519-acr-ping.png


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.