From the course: AWS DevOps: Continuous Docker Deployment to AWS Fargate from GitLab

Unlock the full course today

Join today to access over 22,600 courses taught by industry experts or purchase this course individually.

Pushing a container to the registry

Pushing a container to the registry

From the course: AWS DevOps: Continuous Docker Deployment to AWS Fargate from GitLab

Start my 1-month free trial

Pushing a container to the registry

- [Instructor] Included with the course is some sample code for a Docker container. Unzip the file, and copy the files into your working directory that you just cloned for your new repository. Now, I'm on Mac OS, and so I have to hold Command, Shift, Period, so that I can see the hidden files that are within this folder. So make sure you copy these as well. And I'm going to paste them into my new repository. And I'm going to choose to replace the existing README.md file. In a terminal window, change Directory into your git working repository, minus cd, tilde forward slash, docker, dash, sample, and then type git, space, status. You'll see the new files that we just pasted in, so type git, space, add, space, period, to stage a new commit, and then git, space, commit, space, dash M, another space, and then inside the double quotes, add a commit message. And hit Enter, then git, space, push, and hit Enter. And this will push our new files up to the repository. In the GitLab Web Admin, if…

Contents