ci: set driver-opts network=host for buildx action

This commit is contained in:
Revant Nandgaonkar 2025-03-15 18:53:45 +05:30
parent 4d4144f8bf
commit 2612c4b3e6

View file

@ -37,6 +37,9 @@ jobs:
image: docker.io/registry:2
ports:
- 5000:5000
strategy:
matrix:
arch: [amd64, arm64]
steps:
- name: Checkout
@ -50,6 +53,9 @@ jobs:
- name: Setup Buildx
uses: docker/setup-buildx-action@v3
with:
driver-opts: network=host
platforms: linux/${{ matrix.arch }}
- name: Get latest versions
run: python3 ./.github/scripts/get_latest_tags.py --repo ${{ inputs.repo }} --version ${{ inputs.version }}