Update build.yml

This commit is contained in:
Max W 2023-12-08 12:34:12 +01:00
parent 39ce4f9ee9
commit b494a20b50

View File

@ -40,6 +40,12 @@ jobs:
tee /etc/apt/sources.list.d/docker.list > /dev/null
apt-get update
apt-get install docker-ce docker-ce-cli containerd.io docker-buildx-plugin -y
- name: List files and path in the repository
run: |
ls -la
pwd
- name: Build Docker image
run: docker build -t walzen665/spring-cicd-test:latest --build-arg="JAR_FILE=target/demo-0.0.1-SNAPSHOT-spring-boot.jar" .