Update build.yml
This commit is contained in:
parent
b4072034f5
commit
270ad0ee50
@ -54,11 +54,10 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
name: jar-artifact
|
name: jar-artifact
|
||||||
|
|
||||||
- name: List files and path in the repository
|
- name: (Optional) List files and path in the repository
|
||||||
run: |
|
run: |
|
||||||
ls -la
|
ls -la
|
||||||
pwd
|
pwd
|
||||||
ls -la /workspace/***/java-cicd-demo
|
|
||||||
|
|
||||||
- name: Build Docker image
|
- name: Build Docker image
|
||||||
run: docker build -t walzen665/spring-cicd-test:latest --build-arg="JAR_FILE=demo-0.0.1-SNAPSHOT-spring-boot.jar" .
|
run: docker build -t walzen665/spring-cicd-test:latest --build-arg="JAR_FILE=demo-0.0.1-SNAPSHOT-spring-boot.jar" .
|
||||||
|
Loading…
x
Reference in New Issue
Block a user