Commit d1cb6c1b authored by 张俊's avatar 张俊

3.0.2

parent 3c863170
Pipeline #75499 passed with stage
...@@ -51,11 +51,9 @@ pipeline: ...@@ -51,11 +51,9 @@ pipeline:
volumes: volumes:
- /var/run/docker.sock:/var/run/docker.sock - /var/run/docker.sock:/var/run/docker.sock
base: registry.cn-qingdao.aliyuncs.com/wod/nginx:1.19.5 base: registry.cn-qingdao.aliyuncs.com/wod/nginx:1.19.5
dockerfile: .beagle/dockerfile
repo: gzgajzapi/apaas-ui repo: gzgajzapi/apaas-ui
version: v3.0.1 version: v3.0.2
channel: alpha channel: alpha
args: "TARGETOS=linux,TARGETARCH=amd64" ## 不同架构的构建参数
registry: hub.wodcloud.com registry: hub.wodcloud.com
secrets: secrets:
- source: REGISTRY_USER - source: REGISTRY_USER
...@@ -71,8 +69,8 @@ pipeline: ...@@ -71,8 +69,8 @@ pipeline:
dns: 223.5.5.5 dns: 223.5.5.5
volumes: volumes:
- /var/run/docker.sock:/var/run/docker.sock - /var/run/docker.sock:/var/run/docker.sock
source: hub.wodcloud.com/gzgajzapi/apaas-ui:v3.0.1-alpha source: hub.wodcloud.com/gzgajzapi/apaas-ui:v3.0.2-alpha
target: hub.wodcloud.com/gzgajzapi/apaas-ui:v3.0.1 target: hub.wodcloud.com/gzgajzapi/apaas-ui:v3.0.2
registry: hub.wodcloud.com registry: hub.wodcloud.com
secrets: secrets:
- source: REGISTRY_USER - source: REGISTRY_USER
......
ARG BASE ARG BASE
FROM $BASE FROM $BASE
ARG AUTHOR ARG AUTHOR
ARG VERSION ARG VERSION
LABEL maintainer=${AUTHOR} version=${VERSION} LABEL maintainer=${AUTHOR} version=${VERSION}
ADD ./dist /usr/share/nginx/html
ARG TARGETOS ADD ./build/nginx.conf /etc/nginx/nginx.conf
ARG TARGETARCH \ No newline at end of file
ADD ./dist /www
ADD ./build/conf.yaml /www/conf.yaml
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment