kciter / aws-ecr-action

This Action allows you to create Docker images and push into a ECR repository.
MIT License
146 stars 116 forks source link

Space in comma separated tags results in incorrect tagging #29

Open skdeep12 opened 3 years ago

skdeep12 commented 3 years ago

Causes issue: tags: ${{ github.sha }}, ${{ github.event.release.tag_name }} Notice the space between first and second tag.

When the tags are written like above, docker image is incorrectly tagged as Successfully tagged v0.0.3/kheti:155ca90a37197e8db0e7fa1645635c42a13838e7 where v0.0.3 is the second tag.

When I remove the space between the tags, it works fine.