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:
parent
e7964906a6
commit
2962fe9789
9 changed files with 60 additions and 995 deletions
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue