Skip to content

Commit

Permalink
Build k0s Docker image on GitHub managed runners
Browse files Browse the repository at this point in the history
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 <[email protected]>
(cherry picked from commit fffa625)
  • Loading branch information
twz123 authored and github-actions[bot] committed Aug 25, 2023
1 parent f53dec1 commit 1283265
Showing 1 changed file with 1 addition and 11 deletions.
12 changes: 1 addition & 11 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 1283265

Please sign in to comment.