-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
image: Fix multi-stage build caching
* Sets tar options to remove uid, gid from files. * Uses session-based auth with injected registry auth. Prior to this commit, verbose logs would report errors importing cache manifests from images built with arg `BUILDKIT_INLINE_CACHE=1`: ``` [builder 1/6] FROM docker.io/library/node:alpine@sha256:4a3a2ccfa801ce6960e7fc29fc5e5a1ed896b633e4731cdb87b4e1a1e9ad246e digest: sha256:13a7ee18c229d7dd37fc02dee457f4e525951359df4cad0db5eeb56079cc806b importing cache manifest from 616138583583.dkr.ecr.us-west-2.amazonaws.com/docker-provider-test-11ec639:latest error: unexpected status code [manifests latest]: 401 Unauthorized ```
- Loading branch information
1 parent
0829eef
commit f396f03
Showing
1 changed file
with
19 additions
and
6 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