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

quarkus.container-image.push=true not working in 3.2.8 #36992

Closed
dylanenabled opened this issue Nov 10, 2023 · 3 comments · Fixed by #37021
Closed

quarkus.container-image.push=true not working in 3.2.8 #36992

dylanenabled opened this issue Nov 10, 2023 · 3 comments · Fixed by #37021
Labels
area/kotlin kind/bug Something isn't working
Milestone

Comments

@dylanenabled
Copy link

Describe the bug

In 3.2.7 running

./gradlew build -Dquarkus.package.type=fast-jar -Dquarkus.container-image.build=true -Dquarkus.container-image.push=true

causes the container to be pushed after it has built.

In 3.2.8 it builds but does not push.

Expected behavior

It should push the container to the repository defined, as the documentation says.

Actual behavior

It builds but does not push.

How to Reproduce?

Set up the application properties as in https://quarkus.io/version/3.2/guides/container-image#pushing

Use version 3.2.8

Run ./gradlew build -Dquarkus.package.type=fast-jar -Dquarkus.container-image.build=true -Dquarkus.container-image.push=true

It doesn't push.

Output of uname -a or ver

Linux d59818fa6fbe 6.2.0-1012-aws #12~22.04.1-Ubuntu SMP Thu Sep 7 14:01:24 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux

Output of java -version

openjdk version "17.0.9" 2023-10-17 OpenJDK Runtime Environment Temurin-17.0.9+9 (build 17.0.9+9) OpenJDK 64-Bit Server VM Temurin-17.0.9+9 (build 17.0.9+9, mixed mode, sharing)

Quarkus version or git rev

3.2.8.Final

Build tool (ie. output of mvnw --version or gradlew --version)

------------------------------------------------------------ Gradle 8.4 ------------------------------------------------------------ Build time: 2023-10-04 20:52:13 UTC Revision: e9251e572c9bd1d01e503a0dfdf43aedaeecdc3f Kotlin: 1.9.10 Groovy: 3.0.17 Ant: Apache Ant(TM) version 1.10.13 compiled on January 4 2023 JVM: 17.0.9 (Eclipse Adoptium 17.0.9+9) OS: Linux 6.2.0-1012-aws amd64

Additional information

No response

@dylanenabled dylanenabled added the kind/bug Something isn't working label Nov 10, 2023
@quarkus-bot
Copy link

quarkus-bot bot commented Nov 10, 2023

/cc @evanchooly (kotlin), @geoand (kotlin)

@geoand
Copy link
Contributor

geoand commented Nov 10, 2023

Seems to be related to #36969.

cc @snazy @glefloch @aloubyansky

@techorix
Copy link

thanks a lot for fixing this. i had big problems with quarkus accepting gradle parameters at all since 3.2.5. i had to use environment variables in order to overwrite my application.properties during CI/CD and couldn't use -Dquarkus.... parameters anymore.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/kotlin kind/bug Something isn't working
Projects
None yet
4 participants