2
0
Fork 0
mirror of https://code.forgejo.org/docker/build-push-action.git synced 2025-08-05 17:00:58 +00: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:
CrazyMax 2020-08-17 18:26:35 +02:00
parent e7964906a6
commit 2962fe9789
No known key found for this signature in database
GPG key ID: 3248E46B6BB8C7F7
9 changed files with 60 additions and 995 deletions

View file

@ -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;
}