Skip to content

Commit c019a5e

Browse files
authored
Speed up Github Actions Docker builds (#980)
* Revert wrong fix github actions slowdowns. * Use docker buildkit to speed up docker builds. * Enable docker buildkit on master Github github actions workflow as well.
1 parent 653645d commit c019a5e

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

.github/workflows/complete.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,13 +6,13 @@ jobs:
66
build-push-docker-images:
77
runs-on: [self-hosted]
88
strategy:
9-
max-parallel: 3
109
matrix:
1110
component: [core, serving, jobcontroller, jupyter]
1211
env:
1312
GITHUB_PR_SHA: ${{ github.event.pull_request.head.sha }}
1413
REGISTRY: gcr.io/kf-feast
1514
MAVEN_CACHE: gs://feast-templocation-kf-feast/.m2.2020-08-19.tar
15+
DOCKER_BUILDKIT: '1'
1616
steps:
1717
- uses: actions/checkout@v2
1818
- uses: GoogleCloudPlatform/github-actions/setup-gcloud@master

.github/workflows/master_only.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,11 +10,11 @@ jobs:
1010
build-docker-images:
1111
runs-on: [self-hosted]
1212
strategy:
13-
max-parallel: 3
1413
matrix:
1514
component: [core, serving, jobcontroller, jupyter, ci]
1615
env:
1716
MAVEN_CACHE: gs://feast-templocation-kf-feast/.m2.2020-08-19.tar
17+
DOCKER_BUILDKIT: '1'
1818
steps:
1919
- uses: actions/checkout@v2
2020
- uses: GoogleCloudPlatform/github-actions/setup-gcloud@master

0 commit comments

Comments
 (0)