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 24, 2024
1 parent 3d0cdee commit d0ee37b
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 @@ -336,6 +336,16 @@ jobs:
- name: "Pre: Fixup directories"
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 d0ee37b

Please sign in to comment.