From 223db920e2b20c4a00663c041cab56fc23d50f5c Mon Sep 17 00:00:00 2001 From: makew Date: Mon, 30 Mar 2026 08:33:42 +0300 Subject: [PATCH] uusi taas --- .gitea/workflows/gitea-bp.yaml | 35 +++++++++++++++------------------- 1 file changed, 15 insertions(+), 20 deletions(-) diff --git a/.gitea/workflows/gitea-bp.yaml b/.gitea/workflows/gitea-bp.yaml index 3450ce9..e2bf423 100644 --- a/.gitea/workflows/gitea-bp.yaml +++ b/.gitea/workflows/gitea-bp.yaml @@ -1,33 +1,28 @@ name: Build and Push Image -run-name: ${{ gitea.actor }} made changes so running Gitea actions 🚀 on: [push] -jobs: - build-and-push: +jobs: + build: runs-on: ubuntu-latest + container: catthehacker/ubuntu:act-latest steps: - - name: Checkout code - uses: actions/checkout@v3 + - name: Checkout + uses: actions/checkout@v4 - - name: Set up Docker Buildx - uses: docker/setup-buildx-action@v3 + - name: Login to Gitea Registry + uses: docker/login-action@v3 with: - driver-opts: image=moby/buildkit:latest - install: true - network: host - buildkitd-config-inline: | - [registry."gitea-http.gitea:3000"] - http = true - insecure = true + registry: gitea.paddington.fi # Replace with your Gitea instance URL + username: make + password: ${{ secrets.TOKEN }} - - name: Build and push - uses: docker/build-push-action@v6 + - name: Build and Push + uses: docker/build-push-action@v5 with: context: . - file: ./Dockerfile push: true - tags: gitea-http.gitea:3000/make/birdspotter:latest - allow: - security.insecure \ No newline at end of file + platforms: linux/amd64,linux/arm64 + tags: | + gitea.paddington.fi/make/birdspotter \ No newline at end of file