diff --git a/action.yml b/action.yml index af4e6e3..469fc8d 100644 --- a/action.yml +++ b/action.yml @@ -39,6 +39,7 @@ inputs: build-args: description: "Docker build args" required: false + default: '' runs: using: 'composite' @@ -143,9 +144,9 @@ runs: push: ${{ inputs.push }} tags: ${{ steps.meta.outputs.TAGS }} labels: ${{ inputs.labels }} - build-args: ${{ inputs.build-args }} cache-from: type=local,src=/opt/docker-cache/.build-cache cache-to: type=local,dest=/opt/docker-cache/.build-cache,mode=max build-args: | "http_proxy='${{ env.http_proxy }}'" "https_proxy='${{ env.https_proxy }}'" + ${{ inputs.build-args }}