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

แชร์
ฝัง
  • เผยแพร่เมื่อ 21 ก.ค. 2024
  • 🔴 - To support my channel, I’d like to offer Mentorship/On-the-Job Support/Consulting - me@antonputra.com
    ▬▬▬▬▬ Experience & Location 💼 ▬▬▬▬▬
    ► I’m a Senior Software Engineer at Juniper Networks (12+ years of experience)
    ► Located in San Francisco Bay Area, CA (US citizen)
    ▬▬▬▬▬▬ Connect with me 👋 ▬▬▬▬▬▬
    ► LinkedIn: / anton-putra
    ► Twitter/X: / antonvputra
    ► GitHub: github.com/antonputra
    ► Email: me@antonputra.com
    ▬▬▬▬▬▬ Related videos 👨‍🏫 ▬▬▬▬▬▬
    👉 [Playlist] Kubernetes Tutorials: • Kubernetes Tutorials
    👉 [Playlist] Terraform Tutorials: • Terraform Tutorials fo...
    👉 [Playlist] Network Tutorials: • Network Tutorials
    👉 [Playlist] Apache Kafka Tutorials: • Apache Kafka Tutorials
    👉 [Playlist] Performance Benchmarks: • Performance Benchmarks
    👉 [Playlist] Database Tutorials: • Database Tutorials
    =========
    ⏱️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: github.com/antonputra/tutoria...
    🖥️ - GitHub : github.com/antonputra/lesson-086
    #GitHubActions #AWS #ECR
  • วิทยาศาสตร์และเทคโนโลยี

ความคิดเห็น • 55

  • @AntonPutra
    @AntonPutra  10 หลายเดือนก่อน +2

    🔴 - To support my channel, I’d like to offer Mentorship/On-the-Job Support/Consulting - me@antonputra.com

  • @orasraf3544
    @orasraf3544 8 วันที่ผ่านมา +1

    like always the best guides videos in youtube

    • @AntonPutra
      @AntonPutra  8 วันที่ผ่านมา

      thank you!!

  • @AntonPutra
    @AntonPutra  ปีที่แล้ว +1

    👉 How to Manage Secrets in Terraform - th-cam.com/video/3N0tGKwvBdA/w-d-xo.html
    👉 Terraform Tips & Tricks - th-cam.com/video/7S94oUTy2z4/w-d-xo.html
    👉 ArgoCD Tutorial - th-cam.com/video/zGndgdGa1Tc/w-d-xo.html

  • @Tirumaleshnaidu
    @Tirumaleshnaidu 6 หลายเดือนก่อน +1

    I really like your content, I learned and implemented so many concepts. Hoping for shell scripting videos. You are awesome, u don’t know how many u r inspiring. ❤

  • @rafikyahia7100
    @rafikyahia7100 3 หลายเดือนก่อน +2

    For programmatic access, it's no longer available as a button there.
    Create the IAM user -> click on the user -> security credentials tab -> create access key
    Thanks for the content!

    • @AntonPutra
      @AntonPutra  3 หลายเดือนก่อน

      thanks, yes they've made some changes to ui

  • @theanhtran7808
    @theanhtran7808 2 ปีที่แล้ว +1

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

  • @smokzpolski
    @smokzpolski 2 ปีที่แล้ว +1

    Nice, thank you for helpful videos!

  • @LeCoolCroco
    @LeCoolCroco ปีที่แล้ว +1

    Thanks, works like a charm!

  • @idanshahar1264
    @idanshahar1264 2 ปีที่แล้ว +2

    Great tutorial! Very useful :)

  • @fvgtekken
    @fvgtekken ปีที่แล้ว

    Excellent tutorial thank you!

  • @lal_1404
    @lal_1404 4 หลายเดือนก่อน

    ❤ excellent. Thanks 🙏

  • @sujayreddyv
    @sujayreddyv 4 หลายเดือนก่อน

    Hey Anton!
    I am facing this error:
    Error: not a valid repository/tag: invalid reference format
    Please help!

  • @jwtsfj
    @jwtsfj 2 ปีที่แล้ว +1

    Awesome video Sir

  • @SineQuaNon1
    @SineQuaNon1 6 หลายเดือนก่อน +1

    Thanks for this useful video. A humble suggestion: In such tutorial videos, the less background music the better.

    • @AntonPutra
      @AntonPutra  6 หลายเดือนก่อน

      Thanks! Agree I don’t use it anymore

  • @weekend5152
    @weekend5152 5 หลายเดือนก่อน +1

    Too clear mate thanks

    • @AntonPutra
      @AntonPutra  5 หลายเดือนก่อน

      ❤️

  • @sharhanalhassan499
    @sharhanalhassan499 2 ปีที่แล้ว

    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

    • @AntonPutra
      @AntonPutra  2 ปีที่แล้ว

      Not sure if I follow, you would want to create a single immutable artifact for service and promote it between different environments: dev -> staging -> qa -> prod (example may have different envs). In your case looks like you create different artifacts for different environments.

  • @hmohammadnia4937
    @hmohammadnia4937 2 ปีที่แล้ว +1

    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

    • @AntonPutra
      @AntonPutra  2 ปีที่แล้ว +1

      Thank you for suggestion, I was thinking about istio for a long time. I'll make few more about github actions and still aws load balancer controller is pending :)

  • @joxa6119
    @joxa6119 10 หลายเดือนก่อน

    Can you added the part of CICD for the ECS too? I am deploying my API on Fargate through ECS and struggle to find a way to automate the development, due to the Task Definition and Tasks and Services.

    • @AntonPutra
      @AntonPutra  10 หลายเดือนก่อน

      I'll see what I can do in the future, EKS is way more popular than AWS native ECS.

  • @allchannel5985
    @allchannel5985 10 หลายเดือนก่อน +1

    Perfect

    • @AntonPutra
      @AntonPutra  10 หลายเดือนก่อน

      Thank you!!

  • @mediatwinkleTV
    @mediatwinkleTV 2 ปีที่แล้ว

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

    • @AntonPutra
      @AntonPutra  2 ปีที่แล้ว

      sure - th-cam.com/video/X9R5ySkiUkc/w-d-xo.html

  • @valerykuznetsov9202
    @valerykuznetsov9202 2 ปีที่แล้ว

    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!

    • @AntonPutra
      @AntonPutra  2 ปีที่แล้ว +1

      Most likely node/npm version mismatch. Check versions and upgrade if necessary

  • @leozaraterdz
    @leozaraterdz 5 หลายเดือนก่อน +1

    thank you buddy for the information, but I had some problems focusing because of the background music

    • @AntonPutra
      @AntonPutra  5 หลายเดือนก่อน

      thanks, i don't use bg music anymore. thanks for the feedback

  • @anshumanp74
    @anshumanp74 ปีที่แล้ว

    How to implement caching for multi stage build here

    • @AntonPutra
      @AntonPutra  ปีที่แล้ว

      It's been a while but maybe this can help - docs.docker.com/build/cache/backends/gha/

  • @subhazard4297
    @subhazard4297 8 วันที่ผ่านมา

    This video was great, but can you change up your royalty free music a few times in the video? This gets really repetitive.

    • @AntonPutra
      @AntonPutra  8 วันที่ผ่านมา

      thanks! i no longer use music but thanks for the feedback

  • @valentineejakpomewhe4352
    @valentineejakpomewhe4352 ปีที่แล้ว +1

    thanks so much for this, it would be great if you could please point me to a video that can help me detect the the the new container on eco to us to eco environment, more like a continuation from this video, thanks

    • @AntonPutra
      @AntonPutra  ปีที่แล้ว

      Thanks for the feedback, well I have couple for example argocd image updater - th-cam.com/video/cTQybeDzngU/w-d-xo.html

  • @Mike-ks7nr
    @Mike-ks7nr ปีที่แล้ว

    I just get an permission denied at the git clone

    • @AntonPutra
      @AntonPutra  ปีที่แล้ว

      it's public repo, try https clone..

  • @karl-heinzpeters7283
    @karl-heinzpeters7283 2 ปีที่แล้ว +1

    Really good, but crazy speed. Not my taste

  • @user-cq2oc6yd3e
    @user-cq2oc6yd3e 2 ปีที่แล้ว +2

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

  • @jonathasborges
    @jonathasborges 2 ปีที่แล้ว

    show 10

  • @liz2k
    @liz2k ปีที่แล้ว

    чтож летс криэйт ит!