Compare commits
2 Commits
b75b799432
...
bdaa8f2c99
Author | SHA1 | Date | |
---|---|---|---|
bdaa8f2c99 | |||
c7e81a892c |
@ -195,26 +195,10 @@ jobs:
|
||||
uses: http://git.missmoc.top/mocheng/build-push-action@v5
|
||||
with:
|
||||
context: "${{ github.workspace }}"
|
||||
file: "${{ github.workspace }}/${{ matrix.service }}/Dockerfile"
|
||||
tags: "172.100.10.45:3000/by2025/smartparks/${{ matrix.service }}:latest"
|
||||
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
|
||||
|
||||
# 关键配置:允许该仓库使用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
|
||||
|
Loading…
Reference in New Issue
Block a user