Image tag by commit SHA
A commit SHA image tag identifies a container image using the Git commit that produced it. It makes releases traceable and allows an older image to be retrieved for rollback without depending on a moving tag such as latest.
Minimal example
tags: ghcr.io/yashdagar/zomato-api:${{ github.sha }}
push: true