Use network mode host to build image.
Some checks failed
Build startup image / Build-and-release-image (push) Failing after 1m48s
Some checks failed
Build startup image / Build-and-release-image (push) Failing after 1m48s
This commit is contained in:
@@ -21,6 +21,9 @@ jobs:
|
||||
steps:
|
||||
- name: Set up Docker Buildx
|
||||
uses: docker/setup-buildx-action@v2
|
||||
with:
|
||||
buildkitd-flags: '--allow-insecure-entitlement network.host'
|
||||
driver-opts: network=host
|
||||
|
||||
- name: Login to Docker Hub
|
||||
uses: docker/login-action@v3
|
||||
@@ -53,6 +56,8 @@ jobs:
|
||||
env:
|
||||
ACTIONS_RUNTIME_TOKEN: ''
|
||||
with:
|
||||
allow: network.host
|
||||
network: host
|
||||
tags: ${{ vars.LOCAL_REGISTRY_URL }}${{ env.IMAGE }}:latest
|
||||
push: true
|
||||
|
||||
|
||||
Reference in New Issue
Block a user