fix: --frontend mandatory if --opt
This commit is contained in:
parent
626714fe06
commit
1ef5ead381
1 changed files with 2 additions and 1 deletions
|
@ -26,6 +26,7 @@ cat <<EOF > "$DOCKER_CONFIG/config.json"
|
|||
}
|
||||
}
|
||||
EOF
|
||||
buildctl build "$@" -o "type=image,name=$IMAGEAPP,push=true" \
|
||||
buildctl build --frontend dockerfile.v0 "$@" \
|
||||
-o "type=image,name=$IMAGEAPP,push=true" \
|
||||
--opt filename="$INPUT_DOCKERFILE" \
|
||||
--local context="$(dirname "$INPUT_DOCKERFILE")"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue