From 47d25b88efdd6e2c6b8feabc54df40c5a703ebe3 Mon Sep 17 00:00:00 2001 From: Job Date: Mon, 23 Nov 2026 18:59:12 +0000 Subject: [PATCH] ci: build on runneros with podman The linux label of runneros runs jobs in its job image, which has podman and Node.js, with container storage on a volume. podman build and push take the same options as buildah's. Co-Authored-By: Claude Opus 5.5 --- .gitea/workflows/build.yaml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.gitea/workflows/build.yaml b/.gitea/workflows/build.yaml index 1f00af4..8539bff 100644 --- a/.gitea/workflows/build.yaml +++ b/.gitea/workflows/build.yaml @@ -19,15 +19,15 @@ env: jobs: build: - runs-on: job-v2 + runs-on: linux steps: - - uses: actions/checkout@v6 + - uses: actions/checkout@v7 - name: Build run: | for image in $IMAGES; do pull=never; [[ $image == base ]] && pull=newer - buildah build --pull="$pull" \ + podman build --pull="$pull" \ --build-arg TAG="$TAG" \ -t "$REGISTRY/job79/$image:$TAG" "containers/$image" done @@ -38,7 +38,7 @@ jobs: REGISTRY_USERNAME: ${{ secrets.REGISTRY_USERNAME }} REGISTRY_TOKEN: ${{ secrets.REGISTRY_TOKEN }} run: | - buildah login -u "$REGISTRY_USERNAME" --password-stdin "$REGISTRY" <<<"$REGISTRY_TOKEN" + podman login -u "$REGISTRY_USERNAME" --password-stdin "$REGISTRY" <<<"$REGISTRY_TOKEN" for image in $IMAGES; do - buildah push --compression-format=zstd:chunked --compression-level=12 "$REGISTRY/job79/$image:$TAG" + podman push --compression-format=zstd:chunked --compression-level=12 "$REGISTRY/job79/$image:$TAG" done