This commit is contained in:
@@ -24,6 +24,16 @@ jobs:
|
||||
# password: ${{ secrets.DOCKER_REGISTRY_PASSWORD }}
|
||||
|
||||
# 2. 构建并推送镜像
|
||||
- name: 配置 Buildx
|
||||
uses: docker/setup-buildx-action@v2
|
||||
with:
|
||||
driver-opts: network=host
|
||||
buildkitd-flags: --allow-insecure-entitlement security.insecure --allow-insecure-entitlement network.host
|
||||
config-inline: |
|
||||
[registry."121.43.104.161:6500"]
|
||||
http = true
|
||||
insecure = true
|
||||
|
||||
- name: 构建并推送 Docker 镜像
|
||||
uses: docker/build-push-action@v4
|
||||
with:
|
||||
|
||||
Reference in New Issue
Block a user