Skip to content

randy3k/repoview

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

A simple server to preview private github repo

PROJECTID=$(gcloud config get-value project)
docker build . -t gcr.io/$PROJECTID/repoview

Test locally

docker run --rm -p 8080:8080 gcr.io/$PROJECTID/repoview:latest

Push image to Google Registry

gcloud auth configure-docker
docker push gcr.io/$PROJECTID/repoview

Alternatively, ultilize Googld Builds to build image

gcloud builds submit --tag gcr.io/$PROJECTID/repoview

Deploy to Google Cloud Run

gcloud run deploy --image gcr.io/$PROJECTID/repoview --platform managed --max-instances 1

About

A simple server to preview private github repo

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors