1
0
Fork 0
mirror of https://github.com/docker/build-push-action.git synced 2025-06-29 15:56:41 +02:00

add squash option

Signed-off-by: xundaoxd <xundaoxd@outlook.com>
This commit is contained in:
xundaoxd 2022-10-06 20:08:54 +08:00
parent 83a00fb5e6
commit 77bf341f1f
6 changed files with 30 additions and 3 deletions

View file

@ -149,6 +149,7 @@ describe('getArgs', () => {
['no-cache', 'false'],
['push', 'false'],
['pull', 'false'],
['squash', 'false'],
]),
[
'build',
@ -165,6 +166,7 @@ describe('getArgs', () => {
['no-cache', 'false'],
['push', 'false'],
['pull', 'false'],
['squash', 'false'],
]),
[
'build',
@ -183,6 +185,7 @@ describe('getArgs', () => {
['no-cache', 'false'],
['push', 'false'],
['pull', 'false'],
['squash', 'false'],
]),
[
'build',
@ -203,6 +206,7 @@ describe('getArgs', () => {
['no-cache', 'false'],
['push', 'false'],
['pull', 'false'],
['squash', 'false'],
]),
[
'build',
@ -222,6 +226,7 @@ describe('getArgs', () => {
['no-cache', 'false'],
['push', 'false'],
['pull', 'false'],
['squash', 'false'],
]),
[
'build',
@ -238,6 +243,7 @@ describe('getArgs', () => {
['no-cache', 'false'],
['push', 'false'],
['pull', 'false'],
['squash', 'false'],
]),
[
'build',
@ -255,6 +261,7 @@ describe('getArgs', () => {
['no-cache', 'false'],
['push', 'false'],
['pull', 'false'],
['squash', 'false'],
]),
[
'build',
@ -273,6 +280,7 @@ describe('getArgs', () => {
['no-cache', 'false'],
['push', 'false'],
['pull', 'false'],
['squash', 'false'],
]),
[
'build',
@ -295,6 +303,7 @@ describe('getArgs', () => {
['no-cache', 'false'],
['push', 'true'],
['pull', 'false'],
['squash', 'false'],
]),
[
'build',
@ -329,6 +338,7 @@ ccc"`],
['no-cache', 'false'],
['push', 'true'],
['pull', 'false'],
['squash', 'false'],
]),
[
'build',
@ -366,6 +376,7 @@ ccc`],
['no-cache', 'false'],
['push', 'true'],
['pull', 'false'],
['squash', 'false'],
]),
[
'build',
@ -395,6 +406,7 @@ ccc`],
['no-cache', 'false'],
['push', 'true'],
['pull', 'false'],
['squash', 'false'],
]),
[
'build',
@ -418,6 +430,7 @@ ccc`],
['no-cache', 'false'],
['push', 'false'],
['pull', 'false'],
['squash', 'false'],
]),
[
'build',
@ -440,6 +453,7 @@ ccc`],
['no-cache', 'false'],
['push', 'true'],
['pull', 'false'],
['squash', 'false'],
]),
[
'build',
@ -468,6 +482,7 @@ nproc=3`],
['no-cache', 'false'],
['push', 'false'],
['pull', 'false'],
['squash', 'false'],
]),
[
'build',
@ -492,6 +507,7 @@ nproc=3`],
['no-cache', 'false'],
['push', 'false'],
['pull', 'false'],
['squash', 'false'],
]),
[
'build',
@ -510,6 +526,7 @@ nproc=3`],
['no-cache', 'false'],
['push', 'false'],
['pull', 'false'],
['squash', 'false'],
]),
[
'build',