Use docker build remote cache (#3251)

# What this PR does

Second part of the following PR -
https://github.com/grafana/oncall/pull/3245

## Which issue(s) this PR fixes

## Checklist

- [ ] Unit, integration, and e2e (if applicable) tests updated
- [ ] Documentation added (or `pr:no public docs` PR label added if not
required)
- [ ] `CHANGELOG.md` updated (or `pr:no changelog` PR label added if not
required)
This commit is contained in:
Ildar Iskhakov 2023-11-02 19:11:03 +08:00 committed by GitHub
parent c8228670cd
commit 4ae278f8fa
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -109,6 +109,8 @@ steps:
from_secret: gcr_admin
build_args:
- BUILDKIT_INLINE_CACHE=1
cache_from:
- grafana/oncall:latest
depends_on:
- Lint Backend
- Unit Test Backend
@ -132,6 +134,8 @@ steps:
from_secret: docker_username
build_args:
- BUILDKIT_INLINE_CACHE=1
cache_from:
- grafana/oncall:latest
depends_on:
- Lint Backend
- Unit Test Backend
@ -266,6 +270,8 @@ steps:
from_secret: docker_username
build_args:
- BUILDKIT_INLINE_CACHE=1
cache_from:
- grafana/oncall:latest
depends_on:
- set engine version