-
Create local repo and create/add/edit required files and dirs
egREADME.md
,Dockerfile
,.gitignore
,.github/workflows/docker-image.yml
-
On GitHub select "New repository" from the "+" menu and set name to match local repo.
Do not add any template files. -
Initialize up local repo and push to GitHub:
(assumes currently in local repo root dir)
git init
git add <Files>
git commit -m "Initial commit"
git remote add origin <REPO URL>.git
git push -u origin main