Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

error="failed to read current commit information with git rev-parse --is-inside-work-tree" #3265

Open
1 task
uebmaster opened this issue Feb 28, 2024 · 0 comments

Comments

@uebmaster
Copy link

uebmaster commented Feb 28, 2024

I'm submitting a ..

  • [x ] Bug Report
  • Feature Request

Current behavior:

I got the next msg when i run the build command (docker compose -f docker-compose.yml.production-example build) in /opt/stacks/osem path:

WARN[0000] current commit information was not captured by the build error="failed to read current commit information with git rev-parse --is-inside-work-tree"

If a list the images i can see the osem image, but i don't know if was correctly compiled cause i see the error msg.

But if i run the bootstrap db and the docker compose stack, i can see and use osem, but i can't send emails by smtp.

i am using the next smtp setup for custom domain in gmail workspaces:

OSEM_SMTP_ADDRESS=smtp.gmail.com
OSEM_SMTP_PORT=587
OSEM_SMTP_DOMAIN=example.com
OSEM_SMTP_USERNAME=username@example.com
OSEM_SMTP_PASSWORD=password
OSEM_SMTP_AUTHENTICATION=plain
OSEM_SMTP_ENABLE_STARTTLS_AUTO=true
OSEM_SMTP_OPENSSL_VERIFY_MODE=none

Yes, i know that this is another issue, but i don't know if have relationship with the msg mentioned before when i try to build the image.

Expected correct behavior:

The correct build of the osem image for docker

Steps to reproduce:

run:

docker compose -f docker-compose.yml.production-example build

Wait for the error msg:

WARN[0000] current commit information was not captured by the build error="failed to read current commit information with git rev-parse --is-inside-work-tree"

Other information:

Thanks in advance.

PS: Sorry for my bad english.

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

No branches or pull requests

1 participant