I am getting this error:
docker: invalid reference format. See 'docker run --help'.
I have this:
docker run --rm \
"$ecr_endpoint/notifier-cli:latest" \
--build-exit-code "$exit_code" \
--event 'build-end'
the exit status of the docker run command is 125, if that helps. I have no idea what's going on here...an identical command is running fine earlier in the script.
the Dockerfile is like so:
FROM node:12
USER root
WORKDIR /app
COPY . .
ENTRYPOINT ["node", "main.js"]
CMD []