feat: cache variable
This commit is contained in:
parent
1ec903e928
commit
c9a1c6233f
@ -11,6 +11,9 @@ inputs:
|
|||||||
password:
|
password:
|
||||||
description: Registry password
|
description: Registry password
|
||||||
required: true
|
required: true
|
||||||
|
cache:
|
||||||
|
description: Use registry cache
|
||||||
|
default: true
|
||||||
|
|
||||||
runs:
|
runs:
|
||||||
using: docker
|
using: docker
|
||||||
|
2
build.sh
2
build.sh
@ -19,7 +19,7 @@ if [ -z "$IMAGEAPP" ]; then
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
/kaniko/executor \
|
/kaniko/executor \
|
||||||
--cache=true \
|
--cache="${INPUT_CACHE}" \
|
||||||
--context "${INPUT_DOCKERFILE%/*}" \
|
--context "${INPUT_DOCKERFILE%/*}" \
|
||||||
--dockerfile "$INPUT_DOCKERFILE" \
|
--dockerfile "$INPUT_DOCKERFILE" \
|
||||||
--destination "$IMAGEAPP"
|
--destination "$IMAGEAPP"
|
||||||
|
Loading…
Reference in New Issue
Block a user