mirror of
https://github.com/redhat-actions/buildah-build.git
synced 2025-04-20 17:11:23 +00:00
Fix verify build test
Fix verify build to avoid hardcoding of binary version Signed-off-by: divyansh42 <diagrawa@redhat.com>
This commit is contained in:
parent
3f226c0d35
commit
5f78a4ecd0
1 changed files with 3 additions and 2 deletions
5
.github/workflows/verify-build.yml
vendored
5
.github/workflows/verify-build.yml
vendored
|
@ -63,12 +63,13 @@ jobs:
|
||||||
uses: ./buildah-build/
|
uses: ./buildah-build/
|
||||||
with:
|
with:
|
||||||
image: ${{ env.IMAGE_NAME }}
|
image: ${{ env.IMAGE_NAME }}
|
||||||
|
# To avoid hardcoding a particular version of the binary.
|
||||||
content: |
|
content: |
|
||||||
./spring-petclinic/target/spring-petclinic-2.3.0.BUILD-SNAPSHOT.jar
|
./spring-petclinic/target/spring-petclinic-*.BUILD-SNAPSHOT.jar
|
||||||
entrypoint: |
|
entrypoint: |
|
||||||
java
|
java
|
||||||
-jar
|
-jar
|
||||||
spring-petclinic-2.3.0.BUILD-SNAPSHOT.jar
|
spring-petclinic-*.BUILD-SNAPSHOT.jar
|
||||||
port: 8080
|
port: 8080
|
||||||
|
|
||||||
# Check if image is build
|
# Check if image is build
|
||||||
|
|
Loading…
Reference in a new issue