1.1 KiB
1.1 KiB
harbor-arm-build
Jenkins pipeline for building an arm64 Harbor release straight from upstream and
pushing the full image set into registry.bstein.dev/infra.
Key behavior:
- Parameter
HARBOR_VERSION(e.g.v2.14.1). If left empty, the pipeline fetches the latest Harbor GitHub release tag. - Runs on an arm64 node with podman/buildah (Docker CLI shim via
podman-docker); no dind is used. - Builds all Harbor images with
IMAGENAMESPACE=registry.bstein.dev/infraand tags${HARBOR_VERSION}-arm64.$BUILD_NUMBER, then pushes them with theharbor-robot-pipelinecredentials.
Trigger manually in Jenkins when a new Harbor version needs to be published to the internal registry.
Running a test build
- In Jenkins, run the
harbor-arm-buildjob (leaveHARBOR_VERSIONblank to build the latest upstream release). - The agent pulls Harbor sources, builds every component for arm64, and pushes
the tagged artifacts to
registry.bstein.dev/infra. - Verify the images appear in Harbor under the
infraproject with the${HARBOR_VERSION}-arm64.$BUILD_NUMBERtag suffix.