From 25000e2061b31b2601282eef7738e5e17785c8d6 Mon Sep 17 00:00:00 2001 From: Job79 Date: Wed, 23 Jul 2025 16:35:59 +0200 Subject: [PATCH] ci: use job.home runner --- .gitea/workflows/ci.yaml | 28 +++++++++++++++------------- 1 file changed, 15 insertions(+), 13 deletions(-) diff --git a/.gitea/workflows/ci.yaml b/.gitea/workflows/ci.yaml index ed3e5e8..9715f20 100644 --- a/.gitea/workflows/ci.yaml +++ b/.gitea/workflows/ci.yaml @@ -6,21 +6,23 @@ on: jobs: build: - runs-on: container-builder + runs-on: act-latest + if: gitea.ref == 'refs/heads/main' steps: - - uses: actions/checkout@v4 - - name: Build - uses: redhat-actions/buildah-build@v2 + - name: Clone repo + uses: actions/checkout@v4 + - name: Set up Docker Buildx + uses: https://github.com/docker/setup-buildx-action@v3 + - name: Login to Registry + uses: docker/login-action@v3 with: - image: ${{ github.repository_owner }}/${{ github.event.repository.name }} - tags: latest - containerfiles: | - ./Containerfile - - name: Push - uses: redhat-actions/push-to-registry@v2 - with: - image: ${{ github.repository_owner }}/${{ github.event.repository.name }} - tags: latest registry: git.plabble.org username: ${{ secrets.REGISTRY_USERNAME }} password: ${{ secrets.REGISTRY_TOKEN }} + - name: Build and push Docker image + uses: https://github.com/docker/build-push-action@v5 + with: + context: . + file: ./Containerfile + push: true + tags: Job79/${{ github.event.repository.name }}:latest