Skip to content

Commit

Permalink
DEVELOP
Browse files Browse the repository at this point in the history
Cambios para el despliegue continuo e integración continua
  • Loading branch information
oliveraluiss11 committed May 2, 2024
1 parent 78fb9ae commit 6cafdfd
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build-and-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,10 @@ jobs:
echo "default"
fi
- name: Set up JDK 17
- name: Set up JDK 21
uses: actions/setup-java@v4.2.1
with:
java-version: '17'
java-version: '21'
distribution: 'corretto'

- name: Build with Maven
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Usa una imagen base de Java 17 de Corretto
FROM amazoncorretto:17-alpine
FROM amazoncorretto:21-alpine

# Copia el archivo JAR de la aplicación al contenedor
COPY target/ms-ocr-0.0.1-SNAPSHOT.jar /app/ms-ocr.jar
Expand Down

0 comments on commit 6cafdfd

Please sign in to comment.