From eb8fcc921a8097d8a4561e8e220a15b34104cb5c Mon Sep 17 00:00:00 2001 From: makew Date: Mon, 30 Mar 2026 08:40:12 +0300 Subject: [PATCH] kaniko uus --- .gitea/workflows/gitea-bp.yaml | 27 +++++++-------------------- 1 file changed, 7 insertions(+), 20 deletions(-) diff --git a/.gitea/workflows/gitea-bp.yaml b/.gitea/workflows/gitea-bp.yaml index 2cab73a..af3c3b2 100644 --- a/.gitea/workflows/gitea-bp.yaml +++ b/.gitea/workflows/gitea-bp.yaml @@ -1,30 +1,17 @@ -name: Build and Push Docker Image -on: - push: - branches: [ main ] +name: Build and Push Image +on: [push] jobs: build: runs-on: ubuntu-latest container: catthehacker/ubuntu:act-latest - steps: - - name: Checkout code - uses: actions/checkout@v4 - - name: Login to Docker Hub - uses: docker/login-action@v3 + steps: + - name: Build and push Docker image + uses: https://code.thetadev.de/actions/kaniko@v1 with: registry: gitea.paddington.fi + image: make/birdspotter username: make password: ${{ secrets.TOKEN }} - - - name: Set up Buildx - uses: docker/setup-buildx-action@v3 - - - name: Build and push image - uses: docker/build-push-action@v6 - with: - context: . - push: true - tags: make/birdspotter:latest - platforms: linux/amd64,linux/arm64 \ No newline at end of file + cache: true \ No newline at end of file