Trying to fix CI really this time
Validate and publish / Test image and chart (push) Successful in 2m9s
Validate and publish / Publish image and OCI chart (push) Successful in 34s

This commit is contained in:
2026-08-28 23:30:02 +02:00
parent 5cbd3da40b
commit b4185368f6
+4
View File
@@ -45,10 +45,12 @@ jobs:
COMMIT_SHA: ${{ gitea.sha }}
run: |
docker build \
--load \
--label "org.opencontainers.image.revision=${COMMIT_SHA}" \
--label "org.opencontainers.image.source=https://code.brunner.ninja/feedc0de/mikrotik-operator" \
--tag "${IMAGE}:ci-${COMMIT_SHA}" \
.
docker image inspect "${IMAGE}:ci-${COMMIT_SHA}" >/dev/null
publish:
name: Publish image and OCI chart
@@ -83,11 +85,13 @@ jobs:
mkdir -p "${RUNNER_TEMP}/packages"
docker build \
--load \
--label "org.opencontainers.image.version=${image_tag}" \
--label "org.opencontainers.image.revision=${COMMIT_SHA}" \
--label "org.opencontainers.image.source=https://code.brunner.ninja/feedc0de/mikrotik-operator" \
--tag "${IMAGE}:${image_tag}" \
.
docker image inspect "${IMAGE}:${image_tag}" >/dev/null
"${RUNNER_TEMP}/helm" package chart/mikrotik-operator \
--destination "${RUNNER_TEMP}/packages" \