Skip to content

Commit

Permalink
Speed up Github Actions Docker builds (#980)
Browse files Browse the repository at this point in the history
* 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.
  • Loading branch information
mrzzy authored Sep 4, 2020
1 parent 653645d commit c019a5e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/complete.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,13 @@ jobs:
build-push-docker-images:
runs-on: [self-hosted]
strategy:
max-parallel: 3
matrix:
component: [core, serving, jobcontroller, jupyter]
env:
GITHUB_PR_SHA: ${{ github.event.pull_request.head.sha }}
REGISTRY: gcr.io/kf-feast
MAVEN_CACHE: gs://feast-templocation-kf-feast/.m2.2020-08-19.tar
DOCKER_BUILDKIT: '1'
steps:
- uses: actions/checkout@v2
- uses: GoogleCloudPlatform/github-actions/setup-gcloud@master
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/master_only.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,11 @@ jobs:
build-docker-images:
runs-on: [self-hosted]
strategy:
max-parallel: 3
matrix:
component: [core, serving, jobcontroller, jupyter, ci]
env:
MAVEN_CACHE: gs://feast-templocation-kf-feast/.m2.2020-08-19.tar
DOCKER_BUILDKIT: '1'
steps:
- uses: actions/checkout@v2
- uses: GoogleCloudPlatform/github-actions/setup-gcloud@master
Expand Down

0 comments on commit c019a5e

Please sign in to comment.