Where do you store your configurations? Dockerfiles, gitlab-ci, application.properties, deploy scripts
If by "Shared" you mean that your team has access to the files then it should be stored in Source Control so that everyone on the team is using the same scripts.  You can consider a secrets manager so that team members do not share sensitive information (e.g., Docker Secrets, AWS Secrets Manager, Azure Key Vault).

If this will be publicly available you can still use a secrets manager to publish these files with the sensitive data removed.