Giter VIP home page Giter VIP logo

kunduso / app-one Goto Github PK

View Code? Open in Web Editor NEW
1.0 2.0 3.0 855 KB

In this GitHub repository you will find all the information required to create your own CI-CD process using Azure DevOps to push a docker image into an Amazon ECR repository using Azure pipelines.

Home Page: https://skundunotes.com/2022/03/30/push-docker-images-to-amazon-ecr-using-yaml-based-azure-pipelines/

License: The Unlicense

Dockerfile 11.33% PowerShell 55.29% JavaScript 11.38% CSS 12.11% Handlebars 9.90%

app-one's Introduction

Build Status Image

Motivation

When it comes to identifying a process to deliver continuous value to customers, CI-CD is the defacto standard. And container technology enables that by encapsulating an application and its dependencies into a package that can be hosted and scaled independently of other applications. So DevOps engineers and application developers merged these ideas to forge a concept to create a CI-CD process to deploy containers.

At a high level, a typical CI-CD cycle involving containers comprises the following steps:
Step 1: create the application code (or an executable depending on the technology) that will be hosted in a container by a specific cloud provider.
Step 2: create and tag a docker image that contains the application (or executable) and all dependencies.
Step 3: upload the docker image into an image repository, and
Step 4: create a container out of the image that is stored in the image repository

In this GitHub repository you will find all the information required to create your own CI-CD process using Azure DevOps to push a docker image into an Amazon ECR repository.

Prerequisites

There are a couple of pre-requisites to this process - an IAM user with permission to push images to the Amazon ECR image repository and the image repository to host the image.

Usage

Ensure that the IAM user whose credentials are being used in this configuration has permission to create and manage all the resources that are included in this repository. I have the policy file in the location \iam-policy\iam-policy.json that can be associated with the IAM user. Please update the $(aws_account_number) in the policy file before creating an IAM policy.
Create an Azure DevOps Library variable group and store App-One.AccessKey, App-One.SecretKey, and aws_account_number securely. To read how to do that, refer to my note - Manage secure variables with Azure DevOps Library and Azure Pipelines.

For more details, refer to my note: Push Docker images to Amazon ECR using Azure Pipelines and AWS Tools for PowerShell.

Click on the build badge Azure Pipelines at the top to navigate to the Azure DevOps build log.

app-one's People

Contributors

kunduso avatar

Stargazers

 avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.