关闭 Always Pull Image, 依旧不会使用本地镜像 build docker image [onedev 11.5.2] (OD-2183)
ronger opened 1 year ago
- name: Build Docker Image
  jobExecutor: local
  steps:
  - !SetBuildVersionStep
    name: Set Build Version
    buildVersion: '@file:buildVersion@'
    condition: ALL_PREVIOUS_STEPS_WERE_SUCCESSFUL
  - !BuildImageStep
    name: Build Docker Image
    output: !RegistryOutput
      tags: rymcu/forest:@build_version@
    condition: ALL_PREVIOUS_STEPS_WERE_SUCCESSFUL
  jobDependencies:
  - jobName: package
    requireSuccessful: true
    artifacts: '**'
  retryCondition: never
  maxRetries: 3
  retryDelay: 30
  timeout: 3600
FROM tomcat:9.0.96-jdk8

MAINTAINER rymcu.com

RUN mkdir -p /logs/forest

RUN rm -rf /usr/local/tomcat/webapps.dist

RUN rm -rf /usr/local/tomcat/webapps/*

COPY target/forest.war /usr/local/tomcat/webapps/

EXPOSE 8080

image.png

image_2.png

issue 1/1
Type
Question
Priority
Normal
Assignee
Labels
No labels
Issue Votes (0)
Watchers (2)
Reference
OD-2183
Please wait...
Connection lost or session expired, reload to recover
Page is in error, reload to recover