This project is a simple Dockerized application that prints the latest Git commit hash.
It comes with a CI pipeline using GitHub Actions that automatically builds and pushes the Docker image to DockerHub.
- Prints the latest Git commit hash
- Packaged as a Docker image
- Automated build & push with GitHub Actions
- Easily runnable locally or in any Docker-supported environment
The image is available on DockerHub
Pull and run the image:
docker pull tanvirmahfuz22/simple-github-commit-hash-printer:latest
# Option 1: Run directly
docker run --rm tanvirmahfuz22/simple-github-commit-hash-printer:latest
# Option 2: Rename locally to a simpler name
docker tag tanvirmahfuz22/simple-github-commit-hash-printer:latest hash-printer:latest
docker run --rm hash-printer:latestThis project uses GitHub Actions to automate Docker image builds and pushes.
- Build the Docker image
- Push the image to DockerHub
.github/workflows/docker-ci.yml