Build a Docker Image and Publish It to AWS ECR using Github Actions



GitHub Actions makes it easy to automate all your software workflows.

☕ – Buy me a coffee: https://www.buymeacoffee.com/antonputra
🤝 – Add me on LinkedIn: https://www.linkedin.com/in/anton-putra

=========
⏱️TIMESTAMPS⏱️
0:00 Intro
0:40 Create GitHub Repository
1:13 Create Golang App
2:43 Create Dockerfile for Golang
3:05 Create GitHub Actions Workflow
5:06 Create AWS ECR Repository
5:28 Create AWS IAM User, Policy, and Group
8:05 Test GitHub Actions
09:10 Add Automatic Tagging of Releases

=========
Source Code
🖥️ – GitHub: https://github.com/antonputra/tutorials/tree/main/lessons/086
🖥️ – GitHub : https://github.com/antonputra/lesson-086

=========
SOCIAL
🎙 – Twitter: https://twitter.com/antonvputra
📨 – Email: me@antonputra.com

#GitHubActions #AWS #ECR

source

12 thoughts on “Build a Docker Image and Publish It to AWS ECR using Github Actions”
  1. Thank you for your video, but I get the following issue:
    npm WARN read-shrinkwrap This version of npm is compatible with lockfileVersion@1, but package-lock.json was generated for lockfileVersion@2. I'll try to do my best with it!

  2. how about deploying the app to your cluster as a final process ? Do you have a video for that ?

  3. Hello Anton,
    My issue is: How do I implement the tagging strategy for aws multiple accounts. Such that each deployment pipeline tag release is independent of the other accounts. Dev pipeline tag release can be at 0.1.9 and Prod pipeline can be 0.1.1
    this scenario looks like a single account pipeline process. In my situation, if I merge my Dev branch to Prod branch, the pipeline will take the Dev tag and does its incrementation, which I don't like

  4. спс. Работаю девопсом и мне помогло. Скину на кофе завтра

  5. Thanks for your great tutorials & quick intro to different tools

    Would appreciate if you can run a quick intro to istio and deploy a full deployment with istio Egress & Ingress

  6. Hope to see your new video. You always update the trend on the market ! Awesome content

  7. ⏱TIMESTAMPS⏱
    0:00 Intro
    0:40 Create GitHub Repository
    1:13 Create Golang App
    2:43 Create Dockerfile for Golang
    3:05 Create GitHub Actions Workflow
    5:06 Create AWS ECR Repository
    5:28 Create AWS IAM User, Policy, and Group
    8:05 Test GitHub Actions
    09:10 Add Automatic Tagging of Releases

Leave a Reply

Your email address will not be published.

Captcha loading...