From 2eff359a6ad4f40f76ec9d079fb84ae1e1519dbd Mon Sep 17 00:00:00 2001 From: makew Date: Mon, 23 Mar 2026 09:43:42 +0200 Subject: [PATCH] buildkit --- .gitea/workflows/gitea-bp.yaml | 39 ++++++++++++++++++++++------------ 1 file changed, 26 insertions(+), 13 deletions(-) diff --git a/.gitea/workflows/gitea-bp.yaml b/.gitea/workflows/gitea-bp.yaml index df0f405..3450ce9 100644 --- a/.gitea/workflows/gitea-bp.yaml +++ b/.gitea/workflows/gitea-bp.yaml @@ -1,20 +1,33 @@ name: Build and Push Image +run-name: ${{ gitea.actor }} made changes so running Gitea actions 🚀 on: [push] -jobs: - build: +jobs: + build-and-push: runs-on: ubuntu-latest - container: catthehacker/ubuntu:act-latest steps: - - name: Login to GitHub Container Registry - run: docker login -u make -p ${{ secrets.TOKEN }} gitea.paddington.fi - - uses: actions/checkout@master - - name: Build and push Docker image - uses: https://code.thetadev.de/actions/kaniko@v1 + - name: Checkout code + uses: actions/checkout@v3 + + + - name: Set up Docker Buildx + uses: docker/setup-buildx-action@v3 with: - registry: http://gitea-http.gitea:3000 - image: make/myapp - username: make - password: ${{ secrets.TOKEN }} - cache: true \ No newline at end of file + driver-opts: image=moby/buildkit:latest + install: true + network: host + buildkitd-config-inline: | + [registry."gitea-http.gitea:3000"] + http = true + insecure = true + + - name: Build and push + uses: docker/build-push-action@v6 + with: + context: . + file: ./Dockerfile + push: true + tags: gitea-http.gitea:3000/make/birdspotter:latest + allow: + security.insecure \ No newline at end of file