ci: build images with kaniko inside the job image
CI / test (push) Successful in 1m37s
CI / chart (push) Successful in 2s
CI / image (push) Failing after 2m42s

The runner does not expose its Docker socket to job containers, so the
image job could not run docker build. Include the kaniko executor in the
CI image and build/push directly from the job; docker login only writes
the registry credentials file.

Bump the CI image tag to 2.
This commit is contained in:
TapTap committed 2026-11-13 13:52:49 +00:00
1 parent 4c6f1c8fe8
commit a0434d974f
3 files changed
+22 -14

No files matched your search

+1 -1
View File
@@ -7,7 +7,7 @@ set -euo pipefail
ROOT="$(cd "$(dirname "${BASH_SOURCE[0]}")/.." && pwd)"
IMAGE="${CI_IMAGE:-gitea.tap-tap.win/taptap/audiomanager-ci}"
TAG="${1:-1}"
TAG="${1:-2}"
docker build -f "$ROOT/ci/Dockerfile" -t "$IMAGE:$TAG" "$ROOT"
docker push "$IMAGE:$TAG"