From 0225e57283621bb53419a5a80d32f96b4092962d Mon Sep 17 00:00:00 2001 From: Tran Hoang Quan Date: Sun, 10 Nov 2024 00:26:47 +0700 Subject: [PATCH] :bug:fix: fix ci/cd image name --- .github/workflows/pipeline-backend.yaml | 2 +- src/main/java/com/videocall/server/exception/ErrorCode.java | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/pipeline-backend.yaml b/.github/workflows/pipeline-backend.yaml index 724d16f..7273e46 100644 --- a/.github/workflows/pipeline-backend.yaml +++ b/.github/workflows/pipeline-backend.yaml @@ -35,7 +35,7 @@ jobs: run: ./mvnw clean package -DskipTests - name: Build Docker image - run: docker build -t quan0204/wordwaves-server:latest . + run: docker build -t quan0204/we-meet-server:1.0.0 . - name: Login to DockerHub uses: docker/login-action@v3 diff --git a/src/main/java/com/videocall/server/exception/ErrorCode.java b/src/main/java/com/videocall/server/exception/ErrorCode.java index b8857ae..71e7a45 100644 --- a/src/main/java/com/videocall/server/exception/ErrorCode.java +++ b/src/main/java/com/videocall/server/exception/ErrorCode.java @@ -25,6 +25,8 @@ public enum ErrorCode { this.statusCode = statusCode; } + + private final int code; private final String message; private final HttpStatusCode statusCode;