fix(ci): remove sudo from docker install — Gitea ubuntu runner is root without sudo

This commit is contained in:
Millian Lamiaux
2026-07-13 14:15:32 +02:00
committed by millianlmx
parent 56739edf65
commit 46d95661ce
2 changed files with 20 additions and 2 deletions

View File

@@ -30,7 +30,7 @@ jobs:
uses: docker/setup-buildx-action@8d2750c68a42422c14e847fe6c8ac0403b4cbd6f # v3
- name: Install Docker CLI
run: sudo apt-get update -qq && sudo apt-get install -y -qq docker.io
run: apt-get update -qq && apt-get install -y -qq docker.io
- name: Build admin-web image (no push)
env:
@@ -118,7 +118,7 @@ jobs:
uses: docker/setup-buildx-action@8d2750c68a42422c14e847fe6c8ac0403b4cbd6f # v3
- name: Install Docker CLI
run: sudo apt-get update -qq && sudo apt-get install -y -qq docker.io
run: apt-get update -qq && apt-get install -y -qq docker.io
- name: Login to Gitea registry
# Secret referenced via env (never inline in the run command) so it