-
Notifications
You must be signed in to change notification settings - Fork 260
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add extra cache tag to latest images and use that tag to get cache la…
…yers (#550)
- Loading branch information
Showing
3 changed files
with
20 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
export DOCKER_BUILDKIT=1 | ||
|
||
docker buildx build \ | ||
--platform linux/arm64,linux/amd64 \ | ||
--cache-from us-central1-docker.pkg.dev/genuine-flight-317411/devel/robusta-runner:cache \ | ||
--tag $IMAGE \ | ||
--tag us-central1-docker.pkg.dev/genuine-flight-317411/devel/robusta-runner:cache \ | ||
--build-arg BUILDKIT_INLINE_CACHE=1 \ | ||
--push \ | ||
$BUILD_CONTEXT |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters