ci(build): enable SSH forwarding for docker buildx (--ssh default) and allow buildkit entitlements
This commit is contained in:
parent
667be5fa78
commit
e7ef7e9439
@ -22,6 +22,8 @@ jobs:
|
||||
git config --global url.ssh://git@git.4nkweb.com/.insteadOf https://git.4nkweb.com/
|
||||
- name: Setup Docker Buildx
|
||||
uses: docker/setup-buildx-action@v3
|
||||
with:
|
||||
buildkitd-flags: --allow-insecure-entitlement security.insecure --allow-insecure-entitlement network.host
|
||||
- name: Login to Gitea Registry
|
||||
uses: docker/login-action@v3
|
||||
with:
|
||||
|
@ -64,6 +64,7 @@ for name in "${submodules[@]}"; do
|
||||
date -Is
|
||||
docker buildx build \
|
||||
--pull \
|
||||
--ssh default \
|
||||
--progress=plain \
|
||||
--tag "${full_ref}" \
|
||||
"${path}"
|
||||
|
Loading…
x
Reference in New Issue
Block a user