Use new build action and network mode host.
Some checks failed
Build old-editors image / Build-and-release-image (push) Failing after 1m15s

This commit is contained in:
2025-05-06 10:14:44 +00:00
parent bd6508b8af
commit 8f6ffc76df

View File

@@ -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
@@ -49,10 +52,12 @@ jobs:
images: ${{ secrets.REGISTRY_URL }}${{ env.IMAGE }}
- name: Build and push Docker image
uses: docker/build-push-action@v4
uses: docker/build-push-action@v6
env:
ACTIONS_RUNTIME_TOKEN: ''
with:
allow: network.host
network: host
tags: ${{ vars.LOCAL_REGISTRY_URL }}${{ env.IMAGE }}:latest
push: true