From e1ca9d845926ba98b5242cfeec1bc0add2e94574 Mon Sep 17 00:00:00 2001 From: Leonardo Amaral Date: Fri, 26 Jul 2024 19:48:15 -0300 Subject: [PATCH] Change Kaniko to Docker Signed-off-by: Leonardo Amaral --- .gitea/workflows/build-and-push.yaml | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/.gitea/workflows/build-and-push.yaml b/.gitea/workflows/build-and-push.yaml index 9c4f314..89bf6ac 100644 --- a/.gitea/workflows/build-and-push.yaml +++ b/.gitea/workflows/build-and-push.yaml @@ -47,13 +47,9 @@ jobs: registry: git.leonardoamaral.com.br - name: Build and push - uses: int128/kaniko-action@v1 - with: - push: true - tags: git.leonardoamaral.com.br/leonardo/vmcli-powershell-container - cache: true - cache-repository: git.leonardoamaral.com.br/leonardo/vmcli-powershell-container-cache - executor: --network webservices gcr.io/kaniko-project/executor:debug + run: | + docker buildx build --cache-from type=local,src=/tmp/.buildx-cache --cache-to type=local,dest=/tmp/.buildx-cache-new,mode=max --load --tag git.leonardoamaral.com.br/leonardo/vmcli-powershell-container:ubi --file Containerfile . + docker push git.leonardoamaral.com.br/leonardo/vmcli-powershell-container:ubi - name: Move cache run: |