-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Created release 1.0.7 - Fixed docker-compose and docker file - Now tests are running tih test profile
- Loading branch information
1 parent
417175c
commit feedb59
Showing
6 changed files
with
33 additions
and
29 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
name: CI Workflow | ||
name: CI/CD Workflow | ||
run-name: ${{ github.actor }} has started workflow | ||
on: | ||
push: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,11 @@ | ||
FROM maven:3.9.5-eclipse-temurin-21-alpine AS build | ||
FROM maven:3.9.5-amazoncorretto-17 AS build | ||
COPY . . | ||
RUN mvn clean package -DskipTests | ||
|
||
FROM eclipse-temurin:21-jre-alpine | ||
FROM eclipse-temurin:17-jdk | ||
WORKDIR /alura-flix-api | ||
COPY --from=build target/*.jar alura-flix-api.jar | ||
ARG JAR_FILE=target/*.jar | ||
COPY --from=build ${JAR_FILE} alura-flix-api.jar | ||
EXPOSE 8080 | ||
|
||
ENTRYPOINT ["java", "-jar", "alura-flix-api.jar"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters