From 1283265dd10d5e67a3e46bb5c8e06fc2a67bebe9 Mon Sep 17 00:00:00 2001 From: Tom Wieczorek Date: Fri, 25 Aug 2023 10:31:28 +0200 Subject: [PATCH] Build k0s Docker image on GitHub managed runners There's no need to do it on the self-hosted runners and makes the job's maintenance easier. In fact, docker-buildx is not working properly on the self-hosted runners at the moment. Signed-off-by: Tom Wieczorek (cherry picked from commit fffa625f8f2e4383156307fccfac81734b71ad98) --- .github/workflows/release.yml | 12 +----------- 1 file changed, 1 insertion(+), 11 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 6132f5850490..a528d643dda6 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -348,20 +348,10 @@ jobs: - x64 - arm64 - armv7 - runs-on: [self-hosted, linux, x64] + runs-on: ubuntu-22.04 steps: - # docker context must be created prior to setting up Docker Buildx - # https://github.com/actions-runner-controller/actions-runner-controller/issues/893 - - name: Set up Docker Context for Buildx - shell: bash - id: buildx-context - run: | - docker context inspect buildx-context -f ' ' || docker context create buildx-context - - name: Set up Docker Buildx uses: docker/setup-buildx-action@v2 - with: - endpoint: buildx-context - name: Run git checkout uses: actions/checkout@v3