-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
365c95d
commit 20014f4
Showing
1 changed file
with
15 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,15 @@ | ||
Updated readme file | ||
# Push Docker Images to GitHub Container Registry | ||
## GitHub Action for Contineous publishing | ||
### To publish the docker container images to github container registry we need to get personal access token from developer seeting. | ||
To get personal access token `Github profile -> developern setting -> select the classic option -> select delete and write permission` then copy the PAT somewhere as it will be used as a password for docker login. | ||
|
||
## Docker login | ||
In the project main branch login to the docker using `docker login --username githubusername --password PAT ghrc.io` | ||
Then next step is to build the docker image using `docker build . -t ghrc.io/githubusername/yourimage:latest` | ||
Check the image using `docker image ls` | ||
Push the docker image to the github container registry using `docker push ghcr.io/githubusername/yourimage:latest` | ||
|
||
## Contineous Publishing to GRC using Github action | ||
Add the github action workflow | ||
|
||
|