ci(release): install Docker CLI through APT
Bash / shellcheck (push) Successful in 7s
changelog / changelog (push) Successful in 12s
Helm / helm-lint (push) Successful in 7s
Bash / bash-unittest (push) Successful in 28s
Helm / helm-unittest (push) Successful in 17s

Avoid firewall restrictions that prevent the Docker setup action
from working on the Gitea runner.

Co-authored-by: Copilot <copilot@github.com>
This commit is contained in:
volker.raschekandCopilot committed 2026-12-04 19:34:22 +01:00
1 parent 27b0110ef2
commit 39d5e628f7
1 file changed
+23 -1
+23 -1
View File
@@ -14,8 +14,30 @@ jobs:
steps:
# NOTE:
# Install Docker because the Gitea ubuntu-latest runner does not include it.
# The action docker/setup-docker-action can not be used, because of internal Firewall rules of the Gitea runner.
# For this reason will be installed docker directly from distribution packages.
- name: Install Docker
uses: docker/setup-docker-action@3f1ab1ab0e29231562e4db4ca600c1a49653bac6 # v5.7.0
run: |
apt update --yes
apt install --yes curl ca-certificates gnupg
install -m 0755 -d /etc/apt/keyrings
curl \
--fail \
--location \
--silent \
--show-error \
https://download.docker.com/linux/ubuntu/gpg | gpg --batch --yes --dearmor -o /etc/apt/keyrings/docker.gpg
chmod a+r /etc/apt/keyrings/docker.gpg
# Add APT-List for docker-ce
. /etc/os-release
cat > /etc/apt/sources.list.d/docker.list <<EOF
deb [arch=$(dpkg --print-architecture) signed-by=/etc/apt/keyrings/docker.gpg] https://download.docker.com/linux/ubuntu ${VERSION_CODENAME} stable
EOF
apt update --yes
apt install --yes apt-transport-https docker-ce-cli
# NOTE:
# Use volker-raschek/cosign-installer, because envsubst is currently not supported.