From 30229b7119c2d0716a259d66e08c8cde11c7ea70 Mon Sep 17 00:00:00 2001 From: Wesley van Tilburg Date: Fri, 27 Feb 2026 22:21:40 +0100 Subject: [PATCH] ci: test changes --- .gitea/workflows/build.yaml | 42 +++++++++++++++---------------------- 1 file changed, 17 insertions(+), 25 deletions(-) diff --git a/.gitea/workflows/build.yaml b/.gitea/workflows/build.yaml index 584a3fd..d1fcd3b 100644 --- a/.gitea/workflows/build.yaml +++ b/.gitea/workflows/build.yaml @@ -31,35 +31,27 @@ jobs: - name: Checkout uses: actions/checkout@v4 - - name: Log in - uses: redhat-actions/podman-login@v1 - with: - registry: git.plabble.org - username: ${{ secrets.REGISTRY_USERNAME }} - password: ${{ secrets.REGISTRY_TOKEN }} - auth_file_path: /tmp/auth.json - - name: Build rootfs run: | sudo ./builder.sh asahi-cosmic 43 - name: Build container - id: build - uses: job79/buildah-build@65b3793a1370c1ccd74a5c0d090d70eb9637a4ef - with: - image: misthios/${{ matrix.image }} - tags: ${{ matrix.version }} - containerfiles: ./Containerfile - build-args: IMAGE=${{ matrix.image }} + run: | + buildah bud \ + --security-opt label=disable \ + --isolation=chroot \ + --cap-add=SYS_ADMIN \ + -t misthios/${{ matrix.image }}:${{ matrix.version }} \ + --build-arg IMAGE=${{ matrix.image }} \ + -f Containerfile . - name: Push - uses: redhat-actions/push-to-registry@v2 - with: - image: ${{ steps.build.outputs.image }} - tags: ${{ steps.build.outputs.tags }} - registry: git.plabble.org - username: ${{ secrets.REGISTRY_USERNAME }} - password: ${{ secrets.REGISTRY_TOKEN }} - extra-args: | - --compression-format=zstd - --compression-level=12 + run: | + buildah push \ + misthios/${{ matrix.image }}:${{ matrix.version }} \ + docker://git.plabble.org/misthios/${{ matrix.image }}:${{ matrix.version }} \ + --creds "${{ secrets.REGISTRY_USERNAME }}:${{ secrets.REGISTRY_TOKEN }}" \ + --compression-format=zstd \ + --compression-level=12 + + \ No newline at end of file