Skip to content

nevesgustavo/ci-go

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ci-go

This is a very small golang appliation and the ideia is to have a proof of concept on how to use Github Actions to:

  • Test the application
  • Validate code coverage using SonarQube
  • Build a Docker image
  • Push a Docker image to the registry

Step by Step

Generate a DockerHub token

  • Go to dockerhub and click on your account -> settings -> security -> create token image

After generate the token copy the value and create secrets on github

  • Enter the repository and go to Settings -> Secrets and Variables -> Actions
  • Create secrets DOCKERHUB_TOKEN and DOCKERHUB_USERNAME

About

Testing github actions using go

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages