From af003c5f6bf0a697fd81d7995599874577bc05da Mon Sep 17 00:00:00 2001 From: liaozan <378024053@qq.com> Date: Sat, 7 May 2022 10:12:33 +0800 Subject: [PATCH] update scripts --- Dockerfile | 4 ++-- k8s-deploy-template.yaml | 4 +--- 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/Dockerfile b/Dockerfile index d76d077..91a1844 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,9 +1,9 @@ -FROM registry.cn-hangzhou.aliyuncs.com/schbrain/jdk11 as builder +FROM registry.cn-hangzhou.aliyuncs.com/schbrain_online/jdk11 as builder WORKDIR app COPY ${JAR_FILE} app.jar RUN java -Djarmode=layertools -jar app.jar extract -FROM registry.cn-hangzhou.aliyuncs.com/schbrain/jdk11 +FROM registry.cn-hangzhou.aliyuncs.com/schbrain_online/jdk11 WORKDIR app COPY --from=builder app/dependencies/ ./ COPY --from=builder app/spring-boot-loader/ ./ diff --git a/k8s-deploy-template.yaml b/k8s-deploy-template.yaml index dedcd27..c0a98ad 100644 --- a/k8s-deploy-template.yaml +++ b/k8s-deploy-template.yaml @@ -42,6 +42,4 @@ spec: path: /actuator/health/readiness port: 1024 initialDelaySeconds: 30 - periodSeconds: 10 - imagePullSecrets: - - name: kp-schbrain \ No newline at end of file + periodSeconds: 10 \ No newline at end of file -- GitLab