Merge branch 'master' of http://47.109.37.87:3000/by2025/SmartParks
This commit is contained in:
@@ -194,12 +194,27 @@ jobs:
|
|||||||
- name: 构建并推送Docker镜像(仅推送镜像,不上传JAR)
|
- name: 构建并推送Docker镜像(仅推送镜像,不上传JAR)
|
||||||
uses: http://git.missmoc.top/mocheng/build-push-action@v5
|
uses: http://git.missmoc.top/mocheng/build-push-action@v5
|
||||||
with:
|
with:
|
||||||
context: "${GITHUB_WORKSPACE}"
|
context: "${{ github.workspace }}"
|
||||||
file: ${{ github.workspace }}/${{ matrix.service }}/Dockerfile
|
file: "${{ github.workspace }}/${{ matrix.service }}/Dockerfile"
|
||||||
tags: 172.100.10.45:3000/by2025/smartparks/${{ matrix.service }}:latest
|
tags: "172.100.10.45:3000/by2025/smartparks/${{ matrix.service }}:latest"
|
||||||
# tags: ${{ secrets.REGISTRY_URL }}/by2025/$(echo ${{ matrix.service }} | tr 'A-Z' 'a-z'):${{ github.sha }}
|
|
||||||
# tags: ${{ secrets.REGISTRY_URL }}/by2025/${{ matrix.service }}:2.0.4
|
|
||||||
push: true
|
push: true
|
||||||
cache-from: type=gha
|
cache-from: type=gha
|
||||||
cache-to: type=gha,mode=max
|
cache-to: type=gha,mode=max
|
||||||
|
|
||||||
|
# 关键配置:允许该仓库使用HTTP
|
||||||
|
daemon-config: |
|
||||||
|
{
|
||||||
|
"insecure-registries": ["172.100.10.45:3000"]
|
||||||
|
}
|
||||||
|
|
||||||
|
# 确保buildx使用正确的网络配置
|
||||||
|
driver-opts: |
|
||||||
|
network=host
|
||||||
|
# context: "${{ github.workspace }}"
|
||||||
|
# file: ${{ github.workspace }}/${{ matrix.service }}/Dockerfile
|
||||||
|
# tags: 172.100.10.45:3000/by2025/smartparks/${{ matrix.service }}:latest
|
||||||
|
# # tags: ${{ secrets.REGISTRY_URL }}/by2025/$(echo ${{ matrix.service }} | tr 'A-Z' 'a-z'):${{ github.sha }}
|
||||||
|
# # tags: ${{ secrets.REGISTRY_URL }}/by2025/${{ matrix.service }}:2.0.4
|
||||||
|
# push: true
|
||||||
|
# cache-from: type=gha
|
||||||
|
# cache-to: type=gha,mode=max
|
||||||
|
@@ -1,6 +1,8 @@
|
|||||||
# 贝尔实验室 Spring 官方推荐镜像 JDK下载地址 https://bell-sw.com/pages/downloads/
|
# 贝尔实验室 Spring 官方推荐镜像 JDK下载地址 https://bell-sw.com/pages/downloads/
|
||||||
FROM bellsoft/liberica-openjdk-debian:17.0.11-cds
|
#FROM bellsoft/liberica-openjdk-debian:17.0.11-cds
|
||||||
|
#FROM registry.cn-hangzhou.aliyuncs.com/aliyun_openjdk/openjdk:17-jdk-slim
|
||||||
#FROM bellsoft/liberica-openjdk-debian:21.0.5-cds
|
#FROM bellsoft/liberica-openjdk-debian:21.0.5-cds
|
||||||
|
FROM 172.100.10.45:3000/by2025/base-images/liberica-openjdk-debian:17.0.11-cds
|
||||||
#FROM findepi/graalvm:java17-native
|
#FROM findepi/graalvm:java17-native
|
||||||
|
|
||||||
LABEL maintainer="Lion Li"
|
LABEL maintainer="Lion Li"
|
||||||
|
Reference in New Issue
Block a user