GitHub Actions Tutorial - Basic Concepts and CI/CD Pipeline with Docker

2024 ж. 3 Мам.
1 383 717 Рет қаралды

Complete Github Actions Tutorial | GitHub Actions CI/CD | GitHub Actions Docker Build and Push | GitHub Actions Demo
► Complete DevOps Bootcamp - full educational program 👉🏼 bit.ly/3MRumn2
► Follow me on IG for behind the scenes content: 👉🏼 bit.ly/2F3LXYJ
In this GitHub Actions Tutorial we go through the following topics:
First I explain what GitHub Actions actually is and we will look at specific developer workflow use cases that you can automate with GitHub Actions .
After that I explain the basic concepts of GitHub Actions, including the GitHub Events and Actions and workflow and HOW GitHub Actions actually automates these workflows using these components.
Having understood what GitHub Actions solves and how it makes it possible, I will go through the most common workflow, which is CI/CD pipeline.
I will explain shortly why it is not just another ci/cd tool or what are the benefits of GitHub Actions ci cd pipeline.
Finally we will go through a hands-on DEMO, where I explain the syntax of github actions workflow file, and then I show you a complete ci pipeline setup with my example Java Gradle project, which we will build into a Docker Image and push to a private Docker repository on DockerHub.
#githubactions #github #cicd #techworldwithnana
▬▬▬▬▬▬ T I M E S T A M P S ⏰ ▬▬▬▬▬▬
0:00 - Intro
01:03 - What is Github Actions?
01:29 - What are developer workflows? Use Cases for GitHub Actions
04:50 - Basic Concepts of GitHub Actions: How GitHub Actions automates those workflows? GitHub Events & Actions
06:41 - GitHub Actions CI/CD
07:18 - Why another CI/CD Tool - Benefits of Github Actions
09:50 - DEMO - Create CI Workflow or Pipeline
13:04 - Syntax of Workflow File
20:40 - Where does this Workflow Code run? GitHub Action Runner
24:35 - Build Docker Image and push to private Docker Repo
▬▬▬▬▬▬ Useful Links 🛠 ▬▬▬▬▬▬
My GitHub repository: ► github.com/nanuchi/my-project
GitLab repo with all relevant links: ► gitlab.com/nanuchi/youtube-tu...
▬▬▬▬▬▬ Want to learn more? 🚀 ▬▬▬▬▬▬
Full Docker and Kubernetes tutorial ► bit.ly/2YGeRp9
DevOps Tools, like Terraform, Prometheus ► bit.ly/2W9UEq6
Jenkins Pipeline Tutorials ► bit.ly/2Wunx08
YAML Tutorial ► • Yaml Tutorial | Learn ...
▬▬▬▬▬▬ Connect with me 👋 ▬▬▬▬▬▬
Join private Facebook group ► bit.ly/32UVSZP
DEV ► bit.ly/3h2fqiO
INSTAGRAM ► bit.ly/2F3LXYJ
TWITTER ► bit.ly/3i54PUB
LINKEDIN ► bit.ly/3hWOLVT
▬▬▬▬▬▬ Courses & Bootcamp & Ebooks 🚀 ▬▬▬▬▬▬
► Become a DevOps Engineer - full educational program 👉🏼 bit.ly/45mXaer
► High-Quality and Hands-On Courses 👉🏼 bit.ly/3BNS8Kv
► Kubernetes 101 - compact and easy-to-read ebook bundle 👉🏼 bit.ly/3Ozl28x

Пікірлер
  • ▬▬▬▬▬▬ T I M E S T A M P S ⏰ ▬▬▬▬▬▬ 0:00 - Intro 01:03 - What is Github Actions? 01:29 - What are developer workflows? Use Cases for GitHub Actions 04:50 - Basic Concepts of GitHub Actions: How GitHub Actions automates those workflows? GitHub Events & Actions 06:41 - GitHub Actions CI/CD 07:18 - Why another CI/CD Tool - Benefits of Github Actions 09:50 - DEMO - Create CI Workflow or Pipeline 13:04 - Syntax of Workflow File 20:40 - Where does this Workflow Code run? GitHub Action Runner 24:35 - Build Docker Image and push to private Docker Repo ▬▬▬▬▬▬ Useful Links 🛠 ▬▬▬▬▬▬ My GitHub repository: ► github.com/nanuchi/my-project GitLab repo with all relevant links: ► gitlab.com/nanuchi/youtube-tutorial-series/-/blob/master/github-actions/links.md

    @TechWorldwithNana@TechWorldwithNana3 жыл бұрын
    • Thanks 😊 👍

      @karthikc526@karthikc5263 жыл бұрын
    • Great efforts, thank you

      @pradeepsuthar9211@pradeepsuthar92113 жыл бұрын
    • helpfull

      @techbizlife@techbizlife3 жыл бұрын
    • Hi Nana, thanks for the tutorial. Can you please cover the full course on GitHub actions please? thank you.

      @venkatarayudu638@venkatarayudu6382 жыл бұрын
    • Awesome tutorial! Do you do another tutorial of this?

      @CarlosEduardoOchoa@CarlosEduardoOchoa2 жыл бұрын
  • You are the mother of DevOps... Thank you for doing this for slow learners like us. ♥

    @RashmiDuneja@RashmiDuneja3 ай бұрын
  • This channel is my last stop in search of DevOps tutorials, thanks!

    @sujeetagrahari2292@sujeetagrahari22923 жыл бұрын
  • I watched this vid a year ago when I was just practicing solo projects. I got my first full time SWE job 6 months ago and came back to see just how useful this is in the real industry. Worth the watch

    @codaq4043@codaq40432 ай бұрын
  • Thank you so much! Great presentation, professional, clear and concise with zero fluff. This was a fantastic and extremely useful walkthrough.

    @alichamas63@alichamas63 Жыл бұрын
  • This tutorial is taught with great visualization, which is more understandable than an oral explanation. Thank you so much.

    @user-fi2ty4bm2n@user-fi2ty4bm2n2 жыл бұрын
  • This topic and concept are very complex for nondevops folks to understand, but you made it so clear. This is one of the topics that from a conceptual DevOps ci/cd looks simple from a diagram. But this video shows under the hood how things are done. Thank you!

    @mixanguyen3068@mixanguyen3068 Жыл бұрын
  • Amazing video. I love that you explain the "why" of a tool (in this case Github Actions) and that you put it into context + show an example. Like I said, amaaazing!

    @daliaabdou4147@daliaabdou41473 жыл бұрын
  • So methodically explained, so clear and concise! What a talent!

    @AdrianVrabie@AdrianVrabie Жыл бұрын
  • Solid guide! I think I have a good understanding now of how GitHub actions, workflows and events are composed. Demoing a simple project and how to rig up a CI/CD pipeline using GitHub actions was really useful. I learned a lot and think I'm well equipped to start exploring how we can leverage GitHub actions at work. Well spent 30 minutes!

    @joarkrohnmauseth8863@joarkrohnmauseth88632 жыл бұрын
  • Been scouring the web for a decent CI/CD guide for days with no luck. Your guide is solid, thanks a bunch! It's been a real lifesaver.

    @TheTreborMedia@TheTreborMedia3 ай бұрын
  • Like seriously your and my careers seem to be touching all of the same technologies. You are a rare find and I’m grateful people like you exist in this world!!! Thank you for your kindness and brilliance in sharing about technology and solutions!!!

    @mraarone@mraarone2 жыл бұрын
    • Thank you Aaron, happy to hear the content is so relevant for you! :)

      @TechWorldwithNana@TechWorldwithNana2 жыл бұрын
    • She is really awsome!

      @letaciogalvao9908@letaciogalvao99087 ай бұрын
  • Excellent intro to GH Actions. I did in parallel, the only change I did to avoid errors is to update the jar name using java-app instead my-app, and works very fine. Thanks a lot, Nana for another great content.

    @Hackenbaker@Hackenbaker2 жыл бұрын
  • In contrary to many online videos, this one is crisp with clear explanation and demo that anyone can understand in the first visit. Great work! many thanks Nana!

    @rajeshsundararajan@rajeshsundararajan3 жыл бұрын
  • Nana, your tutorials are so well prepared, very easy to understand... you are born to make such a things... thanks a lot!

    @user-sx8mb3em6c@user-sx8mb3em6c4 ай бұрын
  • The best DevOps tutorial! Super well explanation on every step! It truly builds my confidence about DevOps world as a front end developer. Very useful! Many thanks for your efforts of creating this video!

    @amyjuanli@amyjuanli3 жыл бұрын
  • You are a great teacher; liked how you moved thru the content very smoothly and clearly explaining the details.

    @gagrciajuanluis@gagrciajuanluis2 жыл бұрын
  • This is the best tutorial i have watched thus far. very detailed and all steps are explained clearly so that even non-tech savvy can easily follow up. Thank you Nana for the tutorial

    @emmanueldavid1203@emmanueldavid120310 ай бұрын
  • I was searching the Github CI/CD video 2 days before and now i watched your video .It is really a fantastic video with great concept .I am waiting for deployment video.Thank you so much.

    @nikhiljoshi157@nikhiljoshi1573 жыл бұрын
  • I starting watching your tutorials recently, I came searching for docker tutorial but landed on an amazing channel, thanks for everything.

    @WhatspppAndrei@WhatspppAndrei2 жыл бұрын
  • I can't believe your videos are free on KZhead, these are really high quality tutorials

    @thatsalot3577@thatsalot3577 Жыл бұрын
  • Of all the videos I watched to introduce me to GitHub actions, this one is by far the first one I completely understood what's going on in that yaml file. Wow! Excellent way to layout the material too. Thanks plenty

    @MudiagaMoody@MudiagaMoody2 жыл бұрын
  • I love Nana's tutorials, so well explained, no wonder why this video has over 1M views which is crazy impressive for this genre

    @mboshu5551@mboshu5551 Жыл бұрын
  • Just loved how clear and concrete this content was ❤️❤️. mind just got flooded with names of startups got inspiration from github actions.

    @tathagatchaurasiya6124@tathagatchaurasiya61242 жыл бұрын
  • Love yout videos, i been introducced to IT world with little to no knowledge on the topics and your videos makes it so clear and understandable even to me. Keep going with the awesome job!

    @luciogranero2992@luciogranero2992 Жыл бұрын
  • Really great video. Love your way of teaching, very clear & to the point.

    @memo430@memo4303 жыл бұрын
    • Thank you for your positive feedback :)

      @TechWorldwithNana@TechWorldwithNana3 жыл бұрын
    • @@TechWorldwithNana Guru Brahma Gurur Vishnu Guru Devo Maheshwaraha Guru Saakshat Para Brahma Tasmai Sree Gurave Namaha This is in Sanskrit Meaning:Guru(A teacher) is verily the representative of Brahma, Vishnu and Shiva(Hindu gods). He creates, sustains knowledge and destroys the weeds of ignorance. I salute such a Guru. Dedicated to most beautiful guru on KZhead..Thanks a ton Nana for making such videos

      @themeutons8320@themeutons83203 жыл бұрын
  • OH MY GOD! you are a saviour! i used to always confused about devops and people seemed so confident with it, it felt like i am missing some knowledge which is quite common. But i never found good tutorials which explained everything from scratch! Your channel has helped me so much, i cant thank you enough! Binging ALL the tutorials!

    @pinks1811@pinks18112 жыл бұрын
    • Thank you so much, really happy to hear this amazing feedback! :D

      @TechWorldwithNana@TechWorldwithNana2 жыл бұрын
  • It's my first time learning and understanding what Github Actions is and how to use it, loved the video. Thank you!

    @kieran2347@kieran23473 жыл бұрын
  • amazing content and presentation. your explanations add a lot of clarity to how it all fits together... thank you so much nana

    @TheMarksdaspark@TheMarksdaspark3 жыл бұрын
  • Thank you very much! This was just what I needed to get the basic understanding of GitHub Actions! You are an excellent tutor and very knowledgeable.

    @andreassylvan3478@andreassylvan34782 жыл бұрын
  • Great explanation! Covered many important aspects like secrets etc. and really clear to the point

    @vaibhavrajroham590@vaibhavrajroham5902 жыл бұрын
  • The tutorial was incredibly informative and has equipped me with the necessary skills to streamline my development process. Thanks, TechWorldwithNana, for sharing your knowledge with the community!

    @hiranandaniguy@hiranandaniguy Жыл бұрын
  • Your teaching skills are extremely gifted. Great course

    @devnipadmasiri1765@devnipadmasiri17652 жыл бұрын
  • Thanks for the very nice beginner video. Very clear structured and all explained to get the first results. Big thank you here again!

    @juniordev4life@juniordev4life3 жыл бұрын
  • I learned so much from this. I am a developer and I am always eager to learn dev ops. I guess this is a good place to start for me. Thank you

    @darrengegantino1994@darrengegantino19943 жыл бұрын
  • great session, very straight forward and to the point. Thanks for the effort and just can't wait for the full course on this topic.

    @glxm@glxm3 жыл бұрын
    • Really glad to hear :) Thank you for your positive words!

      @TechWorldwithNana@TechWorldwithNana3 жыл бұрын
  • Great video :) I'm really amazed each time how much you've contributed to my knowledge in automation processes. Big thanks!!

    @roylevy178@roylevy178 Жыл бұрын
  • Very thorough and well organized. You are a talented teacher!

    @mkvalor@mkvalor3 жыл бұрын
  • Thank you Nana. The list of the tools for automation of tasks and the options within each tool are exhaustive.

    @relentlessrock@relentlessrock2 жыл бұрын
  • Great explanation on GitHub actions. I don’t have a super technical background and needed to know how to incorporate this in my project. You’ve explained it very great!

    @kentario888@kentario888 Жыл бұрын
  • I feel so confident after this video. Thanks a lot. Not a lot of us can take pricey courses and learn then. This really helps.

    @rudroroy1054@rudroroy10543 ай бұрын
  • I am amazed with your detailed explanation. You are explaining everything so clear, answers all of questions came to my mind with super helpful visualizing. I am subscribing right now!! I appreciate wht you do! You are teaching so many people well. ❤

    @BurakKuyucu-nz1tm@BurakKuyucu-nz1tm9 ай бұрын
  • Earlier had lot of confusions, now I'm clear. Thanks

    @gbsvivek@gbsvivek3 жыл бұрын
  • Hello Nana, this is really a great and clear tutorial to begin with Github Actions.. Thank you very much for detailed steps on workflows..BR, Prashant.

    @syedjunaith@syedjunaith3 жыл бұрын
  • Having watched a few of your videos you are now my initial go to point of reference for all things Docker, K8S and Github Actions. Great way to get up to speed quickly. Good logical flow. When you say .. "and you are probably wondering .." - I found myself laughing - because yes I was wondering exactly that at that point in the video :-)

    @SimonTaylorUK@SimonTaylorUK3 жыл бұрын
    • Great to hear :D Thank you Simon 😊

      @TechWorldwithNana@TechWorldwithNana3 жыл бұрын
  • I recentl come accross your channel and I can say, it has cut down myy DevOps journey by 50%, thank you

    @IbrahimGanaMalgwi@IbrahimGanaMalgwi5 ай бұрын
  • Great, clear explanation of ci/cd pipeline, Github actions, and pipeline syntax!

    @user-meandog@user-meandog9 ай бұрын
  • Best tutorial by far. Thanks, Nana. I will be referencing this video in my own presentation about GitHub Actions.

    @ChrissyLeMaire@ChrissyLeMaire3 жыл бұрын
  • So much clearly explained with hand-on. Simply great 👍

    @vdabhade@vdabhade2 жыл бұрын
  • Thanks a lot for this detailed outline and covering the basics of all these steps really gave me a good idea how to tackle my projects

    @JohnDoe-zw5mk@JohnDoe-zw5mk2 жыл бұрын
  • Really great explanations, with an equally amazing video and its really helping me a lot to learn and practice. Thank you

    @varagovind7952@varagovind79522 жыл бұрын
  • Amazing video Nana, thank you so much for all the hardwork you put into this one.

    @darkbbbbbbb@darkbbbbbbb2 жыл бұрын
  • Great video Nano. I was looking for different use case using GitHub events and actions. Now this video helped me to setup similar work flow. Thanks.

    @bagopila@bagopila3 жыл бұрын
  • Your tutorials are great! Thank you so much Nana!

    @user-qm6ri1sf5i@user-qm6ri1sf5i8 ай бұрын
  • Very clear way of presenting. The community definitely benefits from structured thinkers and communicators such as yourself. I also liked your intro about how CI/CD is just "one use case" ... though I did find it entertaining to see that the rest of the video was largely implementing CI/CD :) Not a criticism though ... i watched it to the end and got a lot of value out of it.

    @yankee-in-london@yankee-in-london3 жыл бұрын
  • Would love a follow-up to this. Great tutorial, made things much clearer for me.

    @vulnerablegrowth3774@vulnerablegrowth37742 жыл бұрын
  • Super helpful Nana! I was able to setup the Github CI for my Ktor project with this tutorial. One thing worth noting is you used a non-official Docker build/push action. There is an official one with v2 version.

    @caisantangyi@caisantangyi3 жыл бұрын
    • Thanks, happy it was helpful! :) Also thanks for pointing this out 👍

      @TechWorldwithNana@TechWorldwithNana3 жыл бұрын
  • What an amazing lady, what amazing content. Thank God we have you!! Thank you so much for this amazing tutorial

    @Adam-gp3ij@Adam-gp3ij3 жыл бұрын
    • Thanks Adam, glad you liked it :D

      @TechWorldwithNana@TechWorldwithNana3 жыл бұрын
  • Nicely explained GitHub actions in a brief video with all the examples. Thanks a lot! Appreciate your work!

    @abhishek-nair@abhishek-nair3 жыл бұрын
    • Thanks for your appreciation and feedback :)

      @TechWorldwithNana@TechWorldwithNana3 жыл бұрын
  • Awesome Intro into GitHub - Thanks a lot! Gave me a really thorough understanding of how things work with GitHub Actions

    @1290DR@1290DR3 ай бұрын
  • I'd been using github action for a while now. Still, this gave me more understanding of how it works. Thanks!

    @po6577@po6577 Жыл бұрын
  • Th way you describe things, even the least experienced techie would understand. Very good mastery.

    @EliasGikonyoMogul@EliasGikonyoMogul Жыл бұрын
  • Thank you very much for sharing such a good CI/CD video in a crystal clear and easy understanding way!

    @tinkerman1790@tinkerman1790 Жыл бұрын
  • I was digging into GitHub actions a couple of months ago and they're really awesome, just like your videos!! Cheers from Buenos Aires! =)

    @neocaoz@neocaoz3 жыл бұрын
    • Thanks a lot Juan :)

      @TechWorldwithNana@TechWorldwithNana3 жыл бұрын
  • Great explanation, going back to the way I learnt GitHub actions and your teaching, your approach seems more clear. Thanks Nana 👍

    @kelvinbirikorang1877@kelvinbirikorang18773 жыл бұрын
    • Thank you Kelvin. Great to hear :)

      @TechWorldwithNana@TechWorldwithNana3 жыл бұрын
  • Thanks for your video! Your way of describing all the points is just perfect to me :) That was a good entry-point to understand the concept of Github workflows/actions 👍👍👍

    @karstenthurfjell-scholz6065@karstenthurfjell-scholz606510 ай бұрын
  • Great tutorial..now I can setup my first cicd pipeline. Thank You

    @random_shorts2852@random_shorts2852 Жыл бұрын
  • That’s probably the best explanation on what GitHub action is. Thank you!

    @mariakravets2339@mariakravets23396 ай бұрын
  • The way you teach is really awesome. Thank you so much for this great tutorial.

    @prateekgupta4347@prateekgupta43473 жыл бұрын
  • Really great explanations, with an equally amazing demo. Thank you. :)

    @mrCetus@mrCetus2 жыл бұрын
  • Every time, good and important information. (Todo tempo, informacao boa e importante.)

    @carlosaugusto.devjava@carlosaugusto.devjava9 ай бұрын
  • I love you videos so much Nana ! You explain so well and the graphic flows are so helpful

    @galinakaz9214@galinakaz92142 жыл бұрын
  • nana incredible learning experience, you are best teacher and learned many thigns in simple terms. your delivery is excellent and content is incremental for beginner

    @niftymiller6057@niftymiller60573 жыл бұрын
  • Amazing tutorial, I search for GitHub actions and clicked on your video first. Nice, I managed to set up GitHub actions in a Kotlin project 😁

    @ikayz@ikayz3 жыл бұрын
  • Best DevOps developer I had witnessed, thanks for your efforts.

    @muhammadmudassirsiddiqui3030@muhammadmudassirsiddiqui3030 Жыл бұрын
  • Thanks NANA for posting this video , this is very informative Tutorial about GitHub Action, Hoping to see more videos on this .. Superb!!!

    @MWAM1234@MWAM12343 жыл бұрын
  • nana I am really happy I found your channel. I am getting to know lots of new DevOps technology in an easy and simple explanation. I know there would be lots of efforts behind it. So wanted to post a comment and thank you for your hard work.

    @divyanayaka@divyanayaka3 жыл бұрын
  • I really like your videos . I think they provide in-depth and holistic view. It really shortens the learning curve !!!

    @omkarpatil9234@omkarpatil92342 ай бұрын
  • all other videos on Github actions out there are very very confusing thank you very much for such an easy-to-understand tutorial.

    @digvijayyamagekar4300@digvijayyamagekar43002 жыл бұрын
  • Clear methodology and super talent in bringing things together in a logical sense , great video !!! looking forward to seeing more videos

    @mohieali7317@mohieali7317 Жыл бұрын
  • One complete devops project 🙏

    @call_of_duty1327@call_of_duty13273 жыл бұрын
  • Looking forward to giving Github actions a try :) I make a lot of issues on my private project, and do my own releases/test runs, would love to automate all that so I can do more dev time and less checking/tedious things.

    @ryanlaseter7626@ryanlaseter76262 жыл бұрын
  • Once again, it's a really nice learning experience with you Nana! Thanks for such really nice learning experience video.

    @mrganeshkudale@mrganeshkudale3 жыл бұрын
  • A great and informative video on Github Actions and this is just what I needed to get started with it. If one wanted to build, test, and merge to master but only wanted to publish to Docker Hub when a release tag was pushed to master, how would one go about structuring their workflow? Thanks so much for sharing and I look forward to your forthcoming course on the subject. 🙏🏾👏🏾👍🏾

    @conradtaylor29@conradtaylor293 жыл бұрын
  • I am developing a Nodejs app and when I saw that this tutorial uses a Java app I almost skipped it, but it was a great one. I got everything I was looking for

    @arseneeich5635@arseneeich56352 жыл бұрын
  • Perfect, detailed explanation of github actions. I love your videos!

    @peterkulik5943@peterkulik59433 жыл бұрын
  • Thanks for your lessons. I greatly appreciate the support of graphs and schematics.

    @jordigonzalez6672@jordigonzalez66722 жыл бұрын
  • Great video! Very informative and succinct. Got me up and running in no time ⚡

    @shpigunov@shpigunov Жыл бұрын
  • Cant thank you enough, keep the good work. Your tutorial is the best here on KZhead.

    @salmawardeh8397@salmawardeh83973 жыл бұрын
  • Thanks a lot Nana. Looking forward to the new Full courses...

    @sunmonu-adedejiolawale4959@sunmonu-adedejiolawale49593 жыл бұрын
  • The workflow for this video was highly structured. Thanks Nana.

    @festusudomoh4443@festusudomoh44432 жыл бұрын
  • Your content is awesome. You have one of the best ways I have ever seen of explain things. Thanks a lot.

    @shelu17@shelu173 жыл бұрын
    • Thank you so much! Really appreciate your positive feedback 😊

      @TechWorldwithNana@TechWorldwithNana3 жыл бұрын
  • Great tutorial! Really helpful :) Waiting for the course

    @glebtumakov1947@glebtumakov19473 жыл бұрын
  • wish I could find your channel later but hey, it is never too late to learn.

    @xjsnjkil2070@xjsnjkil20703 жыл бұрын
  • Very good for my devops learning journey.

    @bhomiktakhar8226@bhomiktakhar82269 ай бұрын
  • thank you such valuable lecture on github actions now i can easily work with the workflows in github

    @abhijeetsingh2962@abhijeetsingh29628 ай бұрын
  • For me learning from you is a marvelous experience, Happy i have found mentor like you ☺️☺️☺️☺️, Hope i will learn more from you...

    @officialismailshah@officialismailshah3 жыл бұрын
  • I am beginner and this channel has helped me a lot. Thank Nana. I am in kind of love with you ❤

    @salmanrasheed4366@salmanrasheed43668 ай бұрын
  • Thank you for sharing your knowledge Nana. Your videos are amazing.

    @SadhamHussainsree@SadhamHussainsree Жыл бұрын
  • i always start to a new technology by watching your video first

    @muratcan__22@muratcan__227 ай бұрын
KZhead