Skip to content

Commit

Permalink
增加自动打包docker镜像功能
Browse files Browse the repository at this point in the history
  • Loading branch information
a13087635768 committed Aug 12, 2024
1 parent 0a9e1a4 commit 6c87854
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build-and-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,9 +53,9 @@ jobs:
# 登录阿里云镜像仓库
docker login --username=$DOCKER_USERNAME --password=$DOCKER_PASSWORD registry.cn-hangzhou.aliyuncs.com
# 使用Dockerfile构建镜像
docker build . --file Dockerfile_jar --tag registry.cn-hangzhou.aliyuncs.com/sqdockler/sq_docker:v$VERSION
docker build . --file Dockerfile_jar --tag registry.cn-hangzhou.aliyuncs.com/sqdockler/sq_docker:v$APP_VERSION
# 推送镜像到镜像仓库
docker push registry.cn-hangzhou.aliyuncs.com/sqdockler/sq_docker:v$VERSION
docker push registry.cn-hangzhou.aliyuncs.com/sqdockler/sq_docker:v$APP_VERSION
release:
needs: build
Expand Down
2 changes: 1 addition & 1 deletion src/main/resources/application.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,4 +57,4 @@ sa-token:
# 是否输出操作日志
is-log: false

version: 2.12.13.1
version: 2.12.13.2

0 comments on commit 6c87854

Please sign in to comment.