1
Some checks failed
构建并部署 / build-and-deploy (push) Failing after 4m15s

This commit is contained in:
jeremygan2021
2026-02-13 10:16:59 +08:00
parent 508290f4cb
commit cb504bd84b

View File

@@ -24,6 +24,16 @@ jobs:
# password: ${{ secrets.DOCKER_REGISTRY_PASSWORD }} # password: ${{ secrets.DOCKER_REGISTRY_PASSWORD }}
# 2. 构建并推送镜像 # 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 镜像 - name: 构建并推送 Docker 镜像
uses: docker/build-push-action@v4 uses: docker/build-push-action@v4
with: with: