From 984c36e8a3fa363093fa2d0c0163a84fd57a68f6 Mon Sep 17 00:00:00 2001 From: Roger Sikorski Date: Sun, 23 Jul 2023 19:33:00 +0200 Subject: [PATCH] try kaniko build --- .gitea/workflows/dev.yaml | 18 +++++++++++------- 1 file changed, 11 insertions(+), 7 deletions(-) diff --git a/.gitea/workflows/dev.yaml b/.gitea/workflows/dev.yaml index ac27747..e06eef6 100644 --- a/.gitea/workflows/dev.yaml +++ b/.gitea/workflows/dev.yaml @@ -7,19 +7,23 @@ jobs: build: runs-on: k3s container: - image: docker:24-cli + image: alpine:latest steps: - run: apk --no-cache add nodejs -# - uses: actions/checkout@v3 - + - uses: actions/checkout@v3 - name: docker login uses: docker/login-action@v2 with: registry: "gitea.sikorski.cloud" username: ${{ secrets.REGISTRY_USER }} password: ${{ secrets.REGISTRY_PASSWORD }} - - name: Build and push - uses: docker/build-push-action@v4 + - name: Kaniko build + uses: aevea/action-kaniko@master with: - push: true - tags: gitea.sikorski.cloud/rogersik/docker-admin-helper:development \ No newline at end of file + registry: gitea.sikorski.cloud + image: rogersik/docker-admin-helper + tag: development + username: ${{ secrets.REGISTRY_USER }} + password: ${{ secrets.REGISTRY_PASSWORD }} + cache: true + cache_registry: rogersik/docker-admin-helper \ No newline at end of file