fix(cicd): install Docker CLI via static binary instead of apt
Some checks failed
deploy / test (push) Successful in 2m5s
deploy / deploy-finance (push) Failing after 9s

This commit is contained in:
Gonçalo Rodrigues 2026-06-26 23:56:14 +01:00
parent 5657ec530a
commit 5769915d75
2 changed files with 6 additions and 3 deletions

View File

@ -24,7 +24,9 @@ jobs:
- uses: actions/checkout@v4 - uses: actions/checkout@v4
- name: Install Docker CLI - name: Install Docker CLI
run: apt-get update -qq && apt-get install -y -qq docker.io run: |
curl -fsSL https://download.docker.com/linux/static/stable/aarch64/docker-27.3.1.tgz \
| tar xzf - --strip-components=1 -C /usr/local/bin docker/docker
- name: Login to Gitea registry - name: Login to Gitea registry
run: | run: |

View File

@ -100,10 +100,11 @@ resource "kubernetes_deployment" "act_runner" {
command = ["/bin/sh", "-c"] command = ["/bin/sh", "-c"]
args = [<<-EOT args = [<<-EOT
set -e set -e
echo "Waiting for Docker daemon..." echo "Waiting for Docker daemon on :2375..."
until docker -H tcp://localhost:2375 info > /dev/null 2>&1; do until nc -z localhost 2375 2>/dev/null; do
sleep 2 sleep 2
done done
sleep 1
echo "Docker daemon ready." echo "Docker daemon ready."
if [ ! -f /data/.runner ]; then if [ ! -f /data/.runner ]; then
act_runner register \ act_runner register \