From 6cafdfd4ea57383a1447ab89bbe91eb426692180 Mon Sep 17 00:00:00 2001 From: oliveraluiss11 Date: Thu, 2 May 2024 08:22:56 -0500 Subject: [PATCH] DEVELOP MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cambios para el despliegue continuo e integraciĆ³n continua --- .github/workflows/build-and-deploy.yml | 4 ++-- Dockerfile | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/build-and-deploy.yml b/.github/workflows/build-and-deploy.yml index c384557..85c92e5 100644 --- a/.github/workflows/build-and-deploy.yml +++ b/.github/workflows/build-and-deploy.yml @@ -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 diff --git a/Dockerfile b/Dockerfile index 56c4033..267ce9b 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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