Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Celebration

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,558,810
Community Members
 
Community Events
184
Community Groups

Pipeline with scan an image and then push docker image to ACR

I would like to add scanner to scan an images during my pipeline and then push that image to Azure Container Registry. Would anyone please help me in this regard or someone has some solution for this problem? So for reference i have shared two solutions. If anyone has some sort of solution recommendation, it is welcome. Please share that. Otherwise anyone can transform the below solutions for BitBucket Pipeline PLEASE..

Solution for GitHub:

https://www.letsdevops.net/post/letsdevops-build-docker-image-scan-and-push-to-acr-ci-cd-using-github

 

Solution for GitHub (from MICROSOFT) but expensive

https://learn.microsoft.com/en-us/azure/defender-for-cloud/defender-for-containers-cicd

2 answers

H Jamal Ashrafi, I read that you seems to have the same problem as me, thus I hope you found a solution and you are able to help me?

I have tried to solve this problem but have failed.

I need to build a docker image using bitbucket-pipelines and ACR.

I need examples of how to write the bitbucket-pipelines.yml

using 'az acr build' and how to push the image into ACR.

 

Regards

Bo Christensen

Email: huskatskrivetilmig@hotmail.com

0 votes
Mark C
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
Sep 28, 2022

Hi @Jamal Ashraf,

Welcome to the community.

For scanning Docker image vulnerabilities, we partnered with Snyk that can achieve that.
Having said that, you can check the following links below that may help and get you started with Bitbucket Cloud Pipelines + Snyk integration.

Hope it helps and do let me know if you have further questions.

Regards,
Mark C

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PERMISSIONS LEVEL
Site Admin
TAGS
AUG Leaders

Atlassian Community Events