Update build.yml

This commit is contained in:
Max W 2023-12-08 14:21:58 +01:00
parent b4072034f5
commit 270ad0ee50

View File

@ -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" .