Build CICD Pipeline to create Docker Image using GitHub Actions and Push Docker image into DockerHub

Поділитися
Вставка
  • Опубліковано 11 вер 2024
  • www.coachdevop...
    Implementations steps:
    Create access token in DockerHub
    Add access token, docker hub user name as secrets in GitHub Actions
    Create GitHub Actions workflow yaml in your repo
    Add tasks for Maven build, docker image creation, tagging and docker push
    Run the workflow/build in GitHub hosted runner(e.g. Ubuntu)
    Verify docker image have been uploaded into DockerHub
    Pre-requisites:
    DockerHub Account
    Make sure a Project is setup in GitHub with Dockerfile
    Create access token in Docker Hub for authenticating with DockerHub
    Steps below to create access token in DockerHub:

КОМЕНТАРІ • 5