Use Git Hash in CI
Get short SHA ID and use it in a CI Process
Get the short SHA ID
Add the following variable to your script:
Use the SHA ID in a tag
YAML example
Result in hub.docker
Result in Codefresh
Related articles
CI/CD pipeline examples
Codefresh YAML for pipeline definitions
Creating pipelines
How Codefresh pipelines work