Skip to content

Commit

Permalink
Install docker buildx for self-hosted runners
Browse files Browse the repository at this point in the history
They are currently not shipping with buildx by default, so try to
install it.

Signed-off-by: Tom Wieczorek <[email protected]>
  • Loading branch information
twz123 committed Jan 5, 2024
1 parent adb3c84 commit edb7407
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions .github/workflows/go.yml
Original file line number Diff line number Diff line change
Expand Up @@ -348,6 +348,16 @@ jobs:
if: matrix.arch == 'arm'
run: find . -type d -not -perm /u+w -exec chmod u+w '{}' \;

- name: Set up Docker Context for Buildx
if: matrix.arch != 'arm'
run: docker context create builders

- name: Set up Docker Buildx
if: matrix.arch != 'arm'
uses: docker/setup-buildx-action@v3
with:
endpoint: builders

- name: Check out code into the Go module directory
uses: actions/checkout@v4
with:
Expand Down

0 comments on commit edb7407

Please sign in to comment.