The script will create a Docker image from a `Dockerfile` from the same folder. The image will be taged with `latest` and additional with the `short git hash` of the last commit. The image will be `pushed` to the default docker registry. Replace `my-company` and `my-image-name` with the real names.
```sh
{:codelabel="shell" filename="createDockerBuilder.sh"}
#!/bin/sh
IMAGE_NAME=my-company/my-image-name
LAST_COMMIT=$(git rev-parse --short HEAD)
echo $LAST_COMMIT
do…