diff --git a/.github/workflows/back.yml b/.github/workflows/back.yml index bba2f66..0456a5d 100644 --- a/.github/workflows/back.yml +++ b/.github/workflows/back.yml @@ -19,15 +19,6 @@ jobs: - name: Set up Docker uses: docker/setup-buildx-action@v3 - - name: Set up JDK 21 - uses: actions/setup-java@v4 - with: - distribution: 'adopt' - java-version: '21' - - - name: Set up Gradle - uses: gradle/gradle-build-action@v3 - - name: Login to ghcr uses: docker/login-action@v3 with: @@ -39,7 +30,6 @@ jobs: uses: docker/build-push-action@v5 with: context: . - file: ./Dockerfile push: true tags: ghcr.io/yunuo46/getaguitar:latest diff --git a/Dockerfile b/Dockerfile index 4a089e6..ca576e7 100644 --- a/Dockerfile +++ b/Dockerfile @@ -4,7 +4,7 @@ CMD ["./gradlew", "clean", "build"] VOLUME /tmp -COPY ./build/libs/*.jar app.jar +COPY build/libs/*.jar app.jar EXPOSE 3000