This is an automated email from the ASF dual-hosted git repository.

msciabarra pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/openserverless-operator.git

commit 04feec8d48a14bdc1ebd8a65d03db3c635198e71
Author: Michele Sciabarra <[email protected]>
AuthorDate: Fri Jul 12 10:56:27 2024 +0200

    0.1-dev.2407121042
---
 Dockerfile   | 1 +
 Taskfile.yml | 9 +++++++--
 2 files changed, 8 insertions(+), 2 deletions(-)

diff --git a/Dockerfile b/Dockerfile
index bc7ee4f..727b7ce 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -1,3 +1,4 @@
 FROM ubuntu:22.04
+RUN apt-get update && apt-get -y install curl
 RUN sh -c "$(curl --location https://taskfile.dev/install.sh)" -- -d -b 
/usr/bin
 CMD sleep inf
diff --git a/Taskfile.yml b/Taskfile.yml
index 400ec43..f8ab902 100644
--- a/Taskfile.yml
+++ b/Taskfile.yml
@@ -39,5 +39,10 @@ tasks:
     - 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
\ No newline at end of file
+    - kubectl -n default delete pod/kaniko || true
+    - kubectl apply -f _kaniko.yaml
+
+  build:
+    - task: install-registry
+    - task: tag-commit-push
+    - task: kaniko-build
\ No newline at end of file

Reply via email to