Skip to content

Conversation

@ammysore17
Copy link

When the app assets are uploaded as a ZIP file to the S3 bucket, there is an edge case where the S3 object version ID potentially starts with a period ("."). If an attempt is made to use the same version ID as an image tag during Docker Image build, the Build fails. This fix prepends the S3 object version ID with a character "v" as the Image tag in the Codebuild Buildspec configuration and the ECS Task definition.

Attached files demonstrate the issue:

S3 Object Version ID Build Logs

…ect and image tag (if user does not provide a desired image tag) in the ECS Task definition to fix issue with S3 object version IDs that can start with a "." which is not a valid docker image tag.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant