fixing actions
Some checks failed
Test Actions (self-test) / AMD64 - Build tiny multi-arch image (runner-full-amd64) (push) Failing after 1s
Test Actions (self-test) / Test SSH deploy action (runner-full-amd64) (push) Failing after 2s
Test Actions (self-test) / Test Kubernetes actions (runner-full-amd64) (push) Failing after 7s
Test Actions (self-test) / ARM64 - Build tiny multi-arch image (runner-full-arm64) (push) Failing after 14s
Test Actions (self-test) / Test SSH deploy action (runner-slim-amd64) (push) Failing after 5s
Test Actions (self-test) / AMD64 - Build tiny multi-arch image (runner-slim-amd64) (push) Successful in 14s
Test Actions (self-test) / Test Kubernetes actions (runner-full-arm64) (push) Failing after 33s
Test Actions (self-test) / Test SSH deploy action (runner-full-arm64) (push) Failing after 20s
Test Actions (self-test) / Test SSH deploy action (runner-slim-arm64) (push) Failing after 29s
Test Actions (self-test) / ARM64 - Build tiny multi-arch image (runner-slim-arm64) (push) Successful in 1m3s
Test Actions (self-test) / Test Kubernetes actions (runner-slim-amd64) (push) Successful in 1m12s
Test Actions (self-test) / Test Kubernetes actions (runner-slim-arm64) (push) Successful in 1m52s
Some checks failed
Test Actions (self-test) / AMD64 - Build tiny multi-arch image (runner-full-amd64) (push) Failing after 1s
Test Actions (self-test) / Test SSH deploy action (runner-full-amd64) (push) Failing after 2s
Test Actions (self-test) / Test Kubernetes actions (runner-full-amd64) (push) Failing after 7s
Test Actions (self-test) / ARM64 - Build tiny multi-arch image (runner-full-arm64) (push) Failing after 14s
Test Actions (self-test) / Test SSH deploy action (runner-slim-amd64) (push) Failing after 5s
Test Actions (self-test) / AMD64 - Build tiny multi-arch image (runner-slim-amd64) (push) Successful in 14s
Test Actions (self-test) / Test Kubernetes actions (runner-full-arm64) (push) Failing after 33s
Test Actions (self-test) / Test SSH deploy action (runner-full-arm64) (push) Failing after 20s
Test Actions (self-test) / Test SSH deploy action (runner-slim-arm64) (push) Failing after 29s
Test Actions (self-test) / ARM64 - Build tiny multi-arch image (runner-slim-arm64) (push) Successful in 1m3s
Test Actions (self-test) / Test Kubernetes actions (runner-slim-amd64) (push) Successful in 1m12s
Test Actions (self-test) / Test Kubernetes actions (runner-slim-arm64) (push) Successful in 1m52s
This commit is contained in:
@@ -53,6 +53,31 @@ inputs:
|
||||
runs:
|
||||
using: composite
|
||||
steps:
|
||||
- name: Ensure Docker CLI and Buildx are installed
|
||||
shell: bash
|
||||
run: |
|
||||
if ! command -v docker >/dev/null 2>&1; then
|
||||
echo "Docker CLI not found, attempting to install it with Buildx..."
|
||||
if command -v apk >/dev/null 2>&1; then
|
||||
apk add --no-cache docker-cli docker-cli-buildx
|
||||
elif command -v apt-get >/dev/null 2>&1; then
|
||||
export DEBIAN_FRONTEND=noninteractive
|
||||
apt-get update -y && apt-get install -y docker.io docker-buildx
|
||||
elif command -v dnf >/dev/null 2>&1; then
|
||||
dnf install -y docker-cli docker-buildx
|
||||
elif command -v yum >/dev/null 2>&1; then
|
||||
yum install -y docker docker-buildx
|
||||
else
|
||||
echo "::error::Docker CLI is missing and no supported package manager (apk, apt-get, dnf, yum) was found."
|
||||
exit 1
|
||||
fi
|
||||
fi
|
||||
|
||||
if ! docker buildx version >/dev/null 2>&1; then
|
||||
echo "::error::Docker Buildx is required but is not installed."
|
||||
exit 1
|
||||
fi
|
||||
|
||||
- name: Log in to Container Registry
|
||||
shell: bash
|
||||
env:
|
||||
|
||||
Reference in New Issue
Block a user