fix(ci): use host networking for native builds
Run NativeAOT Buildah steps with host networking on the Linux agent. Co-authored-by: JustMe <mr.toing@outlook.com>
This commit is contained in:
1 parent
d6b919bc42
commit
75d6bd5540
1 file changed
+1
-1
@@ -45,7 +45,7 @@ publish_node_image() {
|
|||||||
local local_image="localhost/monitor-$component:main-amd64"
|
local local_image="localhost/monitor-$component:main-amd64"
|
||||||
|
|
||||||
python3 "$root/ci/main-fastlane.py" --stage "$component" --destination "$context"
|
python3 "$root/ci/main-fastlane.py" --stage "$component" --destination "$context"
|
||||||
buildah bud --layers --tls-verify=true --arch amd64 \
|
buildah bud --layers --network host --tls-verify=true --arch amd64 \
|
||||||
--build-arg APP_VERSION=main \
|
--build-arg APP_VERSION=main \
|
||||||
-f "$context/Containerfile" -t "$local_image" "$context"
|
-f "$context/Containerfile" -t "$local_image" "$context"
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user