Update build.yml

This commit is contained in:
Max W 2023-12-06 14:20:28 +01:00
parent a369cef3ea
commit 0ae5c90c56

View File

@ -24,8 +24,10 @@ jobs:
- name: Build .jar with Maven
run: ./mvnw package spring-boot:repackage
- name: Initialize Docker runtime
uses: addnab/docker-run-action@v3
- name: Build Docker image
uses: https://github.com/addnab/docker-run-action@v3
run: docker build -t walzen665/spring-cicd-test:latest --build-arg="JAR_FILE=demo-0.0.1-SNAPSHOT-spring-boot.jar" .
- name: Log in to Gitea Docker Registry