From 5ead826ab498bb77c9551b036cb0f80b723024a6 Mon Sep 17 00:00:00 2001 From: dfcarvajal Date: Wed, 17 Dec 2025 22:00:45 +0100 Subject: [PATCH] TEST: kaniko --- .gitea/workflows/build_kaniko.yml | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 .gitea/workflows/build_kaniko.yml diff --git a/.gitea/workflows/build_kaniko.yml b/.gitea/workflows/build_kaniko.yml new file mode 100644 index 0000000..797915a --- /dev/null +++ b/.gitea/workflows/build_kaniko.yml @@ -0,0 +1,22 @@ +name: build + +on: + push: + branches: + - main + +jobs: + build-and-push: + runs-on: kaniko + steps: + - name: Checkout + uses: actions/checkout@v4 + - name: Build with Kaniko + run: | + /kaniko/executor \ + --context . \ + --dockerfile ./Dockerfile \ + --destination nexus.rancherk3.duckdns.org/tfm/microserviciospython:${{ github.sha }} \ + --destination nexus.rancherk3.duckdns.org/tfm/microserviciospython:latest \ + --cache=true \ + --cache-dir=/cache \ No newline at end of file