Creates a Docker image for the application after successful linting, testing, and scanning.
Uses the Dockerfile in the project directory.
Dockerfile
Example Command:
docker build -t <image-name>:latest .
Authenticates with DockerHub using GitHub Secrets.
Pushes the built image to the DockerHub repository.
Example Push Command:
docker push <repository>/<image-name>:latest
Last updated 1 year ago