1
0
Fork 0
mirror of https://github.com/docker/build-push-action.git synced 2025-05-06 21:49:33 +02:00

Revert "set repository and ghtoken attributes for gha cache type"

This reverts commit 522345f555.

Signed-off-by: CrazyMax <1951866+crazy-max@users.noreply.github.com>
This commit is contained in:
CrazyMax 2024-07-17 10:47:38 +02:00
parent a254f8ca60
commit d189d0ef33
No known key found for this signature in database
GPG key ID: ADE44D8C9D44FBE4
2 changed files with 1 additions and 22 deletions

View file

@ -139,7 +139,7 @@ async function getBuildArgs(inputs: Inputs, context: string, toolkit: Toolkit):
args.push('--cache-from', cacheFrom);
});
await Util.asyncForEach(inputs['cache-to'], async cacheTo => {
args.push('--cache-to', Build.resolveCacheToAttrs(cacheTo, inputs['github-token']));
args.push('--cache-to', cacheTo);
});
if (inputs['cgroup-parent']) {
args.push('--cgroup-parent', inputs['cgroup-parent']);