Add feature to pass extra args when building image

If a user wants to pass few extra args to build
command when building image, then he can pass
using 'extra-args' input parameter.

Signed-off-by: divyansh42 <diagrawa@redhat.com>
This commit is contained in:
divyansh42 2021-01-28 19:06:12 +05:30
parent 75dab40354
commit 2b7e117c22
7 changed files with 24 additions and 9 deletions

View file

@ -45,11 +45,11 @@ jobs:
image: ${{ env.IMAGE_NAME }}
# To avoid hardcoding a particular version of the binary.
content: |
./spring-petclinic/target/spring-petclinic-*.BUILD-SNAPSHOT.jar
./spring-petclinic/target/spring-petclinic-*.jar
entrypoint: |
java
-jar
spring-petclinic-*.BUILD-SNAPSHOT.jar
spring-petclinic-*.jar
port: 8080
# Check if image is build