Skip to content

Could not expand value in property quarkus.container-image.tag when assigning an environment variable #48045

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

Open
spr-nates opened this issue May 26, 2025 · 1 comment
Labels
area/config kind/bug Something isn't working

Comments

@spr-nates
Copy link

Good day! I tried updating our project to version 3.20.1 and updated all the necessary properties. But I suddenly get an error when building/running the project via ./gradlew clean build:

* What went wrong:
Execution failed for task ':quarkusAppPartsBuild'.
There was a failure while executing work items
   > A failure occurred while executing io.quarkus.gradle.tasks.worker.BuildWorker
      > Configuration validation failed:
                java.util.NoSuchElementException: SRCFG00011: Could not expand value BUILD_VERSION in property quarkus.container-image.tag

I am setting the env variable ${BUILD_VERSION} to quarkus.container-image.tag for the image build of our project. I am using io.quarkus:quarkus-container-image-docker. Before updating the version to 3.20.1, the project works perfectly fine and I think my issue is related with this one. I was able to replicate it on a newly created project. Can you help me with this issue? Thank you!

Originally posted by @spr-nates in #46718

Copy link

quarkus-bot bot commented May 26, 2025

/cc @radcortez (config)

@geoand geoand added the kind/bug Something isn't working label May 26, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/config kind/bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants