Fix Evol testbed image workflows
build-ci-image / image (push) Failing after 5s

This commit is contained in:
2026-05-02 17:58:58 +03:00
parent 62cfb45fe1
commit 95fb2f5ca0
2 changed files with 14 additions and 10 deletions
+9 -5
View File
@@ -8,6 +8,10 @@ on:
- .gitea/workflows/build-ci-image.yml - .gitea/workflows/build-ci-image.yml
workflow_dispatch: workflow_dispatch:
env:
REGISTRY_HOST: git.neosisyphus.com
REGISTRY_IMAGE: git.neosisyphus.com/evol3d/evol-testbed
jobs: jobs:
image: image:
runs-on: ubuntu-latest runs-on: ubuntu-latest
@@ -17,7 +21,7 @@ jobs:
- name: Log in to container registry - name: Log in to container registry
run: | run: |
echo "${{ secrets.REGISTRY_PASSWORD }}" | docker login "${{ vars.REGISTRY_HOST }}" \ echo "${{ secrets.REGISTRY_PASSWORD }}" | docker login "$REGISTRY_HOST" \
-u "${{ secrets.REGISTRY_USERNAME }}" \ -u "${{ secrets.REGISTRY_USERNAME }}" \
--password-stdin --password-stdin
@@ -27,11 +31,11 @@ jobs:
--build-arg BASE_IMAGE=catthehacker/ubuntu:act-latest \ --build-arg BASE_IMAGE=catthehacker/ubuntu:act-latest \
--build-arg LLVM_VERSION=22 \ --build-arg LLVM_VERSION=22 \
--build-arg MESON_VERSION=latest \ --build-arg MESON_VERSION=latest \
-t "${{ vars.REGISTRY_IMAGE }}:latest" \ -t "$REGISTRY_IMAGE:latest" \
-t "${{ vars.REGISTRY_IMAGE }}:clang22" \ -t "$REGISTRY_IMAGE:clang22" \
-f ci/Dockerfile . -f ci/Dockerfile .
- name: Push CI image - name: Push CI image
run: | run: |
docker push "${{ vars.REGISTRY_IMAGE }}:latest" docker push "$REGISTRY_IMAGE:latest"
docker push "${{ vars.REGISTRY_IMAGE }}:clang22" docker push "$REGISTRY_IMAGE:clang22"
+5 -5
View File
@@ -1,17 +1,17 @@
name: build name: build
# This is a manual smoke-test for the already-published image.
# Do not run it on every push in this image repository, because the first push
# happens before the image exists in the registry.
on: on:
push: workflow_dispatch:
pull_request:
jobs: jobs:
linux: linux:
runs-on: ubuntu-latest runs-on: ubuntu-latest
# Set vars.CI_IMAGE to the same value as vars.REGISTRY_IMAGE, or replace this
# line with your full image path, e.g. git.neosisyphus.com/evol3d/evol-testbed:clang22
container: container:
image: ${{ vars.CI_IMAGE }}:clang22 image: git.neosisyphus.com/evol3d/evol-testbed:clang22
steps: steps:
- uses: actions/checkout@v4 - uses: actions/checkout@v4