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