mirror of
https://github.com/docker/build-push-action.git
synced 2026-01-12 10:28:49 +08:00
Remove bake support for now (future release or subaction)
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
This commit is contained in:
@@ -8,7 +8,7 @@ import * as core from '@actions/core';
|
||||
const cachePath = path.join(os.tmpdir(), 'docker-build-push');
|
||||
|
||||
export async function restoreCache(inputs: Inputs): Promise<Inputs> {
|
||||
if (inputs.bake || !inputs.cacheGithub) {
|
||||
if (!inputs.cacheGithub) {
|
||||
return inputs;
|
||||
}
|
||||
|
||||
@@ -40,7 +40,7 @@ export async function restoreCache(inputs: Inputs): Promise<Inputs> {
|
||||
}
|
||||
|
||||
export async function saveCache(inputs: Inputs): Promise<void> {
|
||||
if (inputs.bake || !inputs.cacheGithub) {
|
||||
if (!inputs.cacheGithub) {
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user