Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
P
pms-ci-test
概览
概览
详情
活动
周期分析
版本库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
统计图
问题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程表
图表
维基
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
图像
聊天
创建新问题
作业
提交
问题看板
Open sidebar
test-ci
pms-ci-test
Commits
730f41ea
提交
730f41ea
authored
5月 16, 2023
作者:
余乾开
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
feat(Action):补充Action
上级
c8abf93f
隐藏空白字符变更
内嵌
并排
正在显示
2 个修改的文件
包含
5 行增加
和
5 行删除
+5
-5
alibabacloud.yml
.github/workflows/alibabacloud.yml
+4
-4
Dockerfile
Dockerfile
+1
-1
没有找到文件。
.github/workflows/alibabacloud.yml
浏览文件 @
730f41ea
...
@@ -60,10 +60,9 @@ jobs:
...
@@ -60,10 +60,9 @@ jobs:
#server-id: github # Value of the distributionManagement/repository/id field of the pom.xml
#server-id: github # Value of the distributionManagement/repository/id field of the pom.xml
#settings-path: ${{ github.workspace }} # location for the settings.xml file
#settings-path: ${{ github.workspace }} # location for the settings.xml file
-
name
:
Build with Maven
#- name: Build with Maven
run
:
|
#run: |
mvn clean package
#mvn clean package
ls target/
#path: '${{ github.workspace }}/target/*.jar'
#path: '${{ github.workspace }}/target/*.jar'
# 2.1 (Optional) Login to ACR EE
# 2.1 (Optional) Login to ACR EE
...
@@ -80,6 +79,7 @@ jobs:
...
@@ -80,6 +79,7 @@ jobs:
# 2.2 (Optional) Build and push image ACR EE
# 2.2 (Optional) Build and push image ACR EE
-
name
:
Build and push image to ACR EE
-
name
:
Build and push image to ACR EE
run
:
|
run
:
|
mvn clean package
docker build -t "$ACR_EE_REGISTRY/$ACR_EE_NAMESPACE/$ACR_EE_IMAGE:$TAG" .
docker build -t "$ACR_EE_REGISTRY/$ACR_EE_NAMESPACE/$ACR_EE_IMAGE:$TAG" .
docker push "$ACR_EE_REGISTRY/$ACR_EE_NAMESPACE/$ACR_EE_IMAGE:$TAG"
docker push "$ACR_EE_REGISTRY/$ACR_EE_NAMESPACE/$ACR_EE_IMAGE:$TAG"
...
...
Dockerfile
浏览文件 @
730f41ea
...
@@ -3,7 +3,7 @@ FROM openjdk:8-jdk-alpine
...
@@ -3,7 +3,7 @@ FROM openjdk:8-jdk-alpine
ARG
JAVA_OPTS
ARG
JAVA_OPTS
ENV
JAVA_OPTS=$JAVA_OPTS
ENV
JAVA_OPTS=$JAVA_OPTS
RUN
ln
-sf
/usr/share/zoneinfo/Asia/Shanghai /etc/localtime
&&
echo
'Asia/Shanghai'
>
/etc/timezone
RUN
ln
-sf
/usr/share/zoneinfo/Asia/Shanghai /etc/localtime
&&
echo
'Asia/Shanghai'
>
/etc/timezone
COPY
target/pms-0.0.1-SNAPSHOT.jar pms.jar
COPY
./
target/pms-0.0.1-SNAPSHOT.jar pms.jar
EXPOSE
8099
EXPOSE
8099
# For Spring-Boot project, use the entrypoint below to reduce Tomcat startup time.
# For Spring-Boot project, use the entrypoint below to reduce Tomcat startup time.
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论