added insecure entitlement network.host
This commit is contained in:
8
.github/workflows/build.yml
vendored
8
.github/workflows/build.yml
vendored
@@ -149,8 +149,9 @@ jobs:
|
||||
|
||||
- name: Linux build using Docker Buildx
|
||||
run: |
|
||||
docker buildx create --use
|
||||
docker buildx create --use --buildkitd-flags '--allow-insecure-entitlement network.host'
|
||||
docker buildx build \
|
||||
--allow network.host \
|
||||
--platform linux/amd64 \
|
||||
-f Dockerfile.linux \
|
||||
--build-arg BINARY_NAME=${{ needs.detect-project.outputs.project-name }} \
|
||||
@@ -192,8 +193,9 @@ jobs:
|
||||
|
||||
- name: Windows build using Docker Buildx
|
||||
run: |
|
||||
docker buildx create --use
|
||||
docker buildx create --use --buildkitd-flags '--allow-insecure-entitlement network.host'
|
||||
docker buildx build \
|
||||
--allow network.host \
|
||||
--platform windows/amd64 \
|
||||
-f Dockerfile.windows \
|
||||
--build-arg BINARY_NAME=${{ needs.detect-project.outputs.project-name }} \
|
||||
@@ -203,7 +205,7 @@ jobs:
|
||||
cleanup:
|
||||
name: Cleanup
|
||||
if: always()
|
||||
needs: [docker-build, native-build, windows-cross]
|
||||
needs: [docker-build, native-build, windows-cross, windows-docker-build]
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Cleanup Docker images
|
||||
|
Reference in New Issue
Block a user