Is it possible to tag an image after its been buil...
# general
s
Is it possible to tag an image after its been build like the following suggestion from aws? https://docs.aws.amazon.com/AmazonECR/latest/userguide/docker-push-ecr-image.html The issue is, when I build the docker image using the following:
Copy code
const image = awsx.ecr.buildAndPushImage(
    `${name}:${gitCommit}`,
    build,
    {
      repository: repository.repository,
    }
  );
it always add the 'latest' tag. I want to tag it with a git commit hash. Is there a function like 'tagAndPushImage'?