Skip to content

Commit

Permalink
Use BuildJet
Browse files Browse the repository at this point in the history
  • Loading branch information
codetheweb committed Feb 25, 2023
1 parent b27b095 commit c89f288
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,12 @@ jobs:
matrix:
runner-platform:
- ubuntu-latest
- self-hosted
- buildjet-4vcpu-ubuntu-2204-arm
include:
- runner-platform: ubuntu-latest
build-arch: linux/amd64
tagged-platform: amd64
- runner-platform: self-hosted
- runner-platform: buildjet-4vcpu-ubuntu-2204-arm
build-arch: linux/arm64
tagged-platform: arm64
runs-on: ${{ matrix.runner-platform }}
Expand All @@ -24,7 +24,7 @@ jobs:

- name: Cache Docker layers
# AWS data transfer is pricy
if: ${{ matrix.runner-platform != 'self-hosted' }}
if: ${{ matrix.runner-platform != 'buildjet-4vcpu-ubuntu-2204-arm' }}
uses: actions/cache@v2
with:
path: /tmp/.buildx-cache
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,12 @@ jobs:
matrix:
runner-platform:
- ubuntu-latest
- self-hosted
- buildjet-4vcpu-ubuntu-2204-arm
include:
- runner-platform: ubuntu-latest
build-arch: linux/amd64
tagged-platform: amd64
- runner-platform: self-hosted
- runner-platform: buildjet-4vcpu-ubuntu-2204-arm
build-arch: linux/arm64
tagged-platform: arm64
runs-on: ${{ matrix.runner-platform }}
Expand All @@ -26,7 +26,7 @@ jobs:

- name: Cache Docker layers
# AWS data transfer is pricy
if: ${{ matrix.runner-platform != 'self-hosted' }}
if: ${{ matrix.runner-platform != 'buildjet-4vcpu-ubuntu-2204-arm' }}
uses: actions/cache@v2
with:
path: /tmp/.buildx-cache
Expand Down

0 comments on commit c89f288

Please sign in to comment.