Hello!
Having this weird error when trying to tag an image with the git commit:
Error parsing reference: “.dkr.ecr..amazonaws.com/*******:$COMMIT” is not a valid repository/tag: invalid reference format
my yaml:
steps:
- name: build-publish
image: plugins/ecr
environment:
DOCKER_LAUNCH_DEBUG: true
AWS_ACCOUNT_ID:
from_secret: aws_account_id
AWS_REGION:
from_secret: aws_region
settings:
access_key:
from_secret: aws_access_key_id
secret_key:
from_secret: aws_secret_access_key
repo: *****.amazonaws.com/reponame
registry: ******.amazonaws.com
file: Dockerfile
tag: $$COMMIT
any idea why this is happening?