Add Evol testbed CI image

This commit is contained in:
2026-05-02 17:51:57 +03:00
commit 349fc5675f
8 changed files with 933 additions and 0 deletions
+37
View File
@@ -0,0 +1,37 @@
name: build-ci-image
on:
push:
paths:
- ci/Dockerfile
- .dockerignore
- .gitea/workflows/build-ci-image.yml
workflow_dispatch:
jobs:
image:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Log in to container registry
run: |
echo "${{ secrets.REGISTRY_PASSWORD }}" | docker login "${{ vars.REGISTRY_HOST }}" \
-u "${{ secrets.REGISTRY_USERNAME }}" \
--password-stdin
- name: Build CI image
run: |
docker build \
--build-arg BASE_IMAGE=catthehacker/ubuntu:act-latest \
--build-arg LLVM_VERSION=22 \
--build-arg MESON_VERSION=latest \
-t "${{ vars.REGISTRY_IMAGE }}:latest" \
-t "${{ vars.REGISTRY_IMAGE }}:clang22" \
-f ci/Dockerfile .
- name: Push CI image
run: |
docker push "${{ vars.REGISTRY_IMAGE }}:latest"
docker push "${{ vars.REGISTRY_IMAGE }}:clang22"