test
Some checks failed
Build images / build (push) Has been cancelled

This commit is contained in:
Julius Zeidler 2025-04-07 15:39:27 +02:00
parent 416988c214
commit 4e116f660e

View file

@ -13,23 +13,24 @@ env:
# Set this to the public IP or hostname of your registry, # Set this to the public IP or hostname of your registry,
# whichever you use to reach it from your desktop/laptop # whichever you use to reach it from your desktop/laptop
FORGEJO_HOST: code.zeidler.dev FORGEJO_HOST: code.zeidler.dev
build: jobs:
runs-on: docker build:
container: runs-on: docker
image: catthehacker/ubuntu:act-latest container:
steps: image: catthehacker/ubuntu:act-latest
- name: Wait for Docker daemon steps:
run: | - name: Wait for Docker daemon
timeout=300 # Set a timeout value in seconds run: |
until docker info; do timeout=300 # Set a timeout value in seconds
echo "Waiting for Docker daemon to start..." until docker info; do
sleep 5 echo "Waiting for Docker daemon to start..."
timeout=$((timeout-5)) sleep 5
if [ $timeout -le 0 ]; then timeout=$((timeout-5))
echo "Timeout waiting for Docker daemon to start." if [ $timeout -le 0 ]; then
exit 1 echo "Timeout waiting for Docker daemon to start."
fi exit 1
done fi
done
# jobs: # jobs:
# build-and-push: # build-and-push: