This is an automated email from the ASF dual-hosted git repository. franztt pushed a commit to branch main in repository https://gitbox.apache.org/repos/asf/openserverless-operator.git
commit c8080d4a83b43dc785f39c12699133bc9c7aee3a Author: francescotimperi <[email protected]> AuthorDate: Sat Jul 13 07:41:05 2024 +0000 chore: updates to taskfile --- .env.dist | 1 + Dockerfile | 2 +- Taskfile.yml | 4 ++++ 3 files changed, 6 insertions(+), 1 deletion(-) diff --git a/.env.dist b/.env.dist new file mode 100644 index 0000000..072d08a --- /dev/null +++ b/.env.dist @@ -0,0 +1 @@ +GITHUB_USER=github: put here your github user \ No newline at end of file diff --git a/Dockerfile b/Dockerfile index 395ba23..887d551 100644 --- a/Dockerfile +++ b/Dockerfile @@ -21,7 +21,7 @@ ENV CONTROLLER_TAG=3.1.0-mastrogpt.2402101445 ENV INVOKER_IMAGE=ghcr.io/nuvolaris/openwhisk-invoker ENV INVOKER_TAG=3.1.0-mastrogpt.2402101445 ARG OPERATOR_IMAGE_DEFAULT=ghcr.io/nuvolaris/openserverless-operator -ARG OPERATOR_TAG_DEFAULT=1.3.0-beta.2309191654 +ARG OPERATOR_TAG_DEFAULT=0.1-dev.2309191654 ENV OPERATOR_IMAGE=${OPERATOR_IMAGE_DEFAULT} ENV OPERATOR_TAG=${OPERATOR_TAG_DEFAULT} diff --git a/Taskfile.yml b/Taskfile.yml index f138fbf..89ddda4 100644 --- a/Taskfile.yml +++ b/Taskfile.yml @@ -336,9 +336,13 @@ tasks: env: TAG: "{{.TAG}}" cmds: + - kubectl delete pod/kaniko + - kubectl delete cm/dockerfile-configmap - test -n "$GITHUB_USER" || true "did you configure your .env?" - envsubst <kaniko.yaml >_kaniko.yaml - cat _kaniko.yaml + - kubectl -n default create configmap dockerfile-configmap --from-file=Dockerfile + - kubectl apply -f _kaniko.yaml shell: - kubectl -n nuvolaris exec --stdin --tty {{.POD}} -- /bin/bash
