docker build with git commit hash
code:bash
# Build docker image with git short commit hash as a image tag
# docker build -t gcr.io/GCP PROJECT ID/foo-api:$(git rev-parse --short HEAD) . # ex) docker build -t gcr.io/yukinagae-dev/foo-api:$(git rev-parse --short HEAD) .