Skip to content

Configure Harbor registry for Docker builds - #14

Merged
surrealwolf merged 9 commits into
mainfrom
harbor-registry-config
Jan 10, 2026
Merged

surrealwolf merged 9 commits into
mainfrom
harbor-registry-config

Conversation

@surrealwolf

Copy link
Copy Markdown
Collaborator

This PR configures the repository to use Harbor registry for Docker image storage and updates GitHub Actions workflows to use self-hosted runners.

Changes

  • Updated docker-compose.yml to pull from Harbor registry
  • Added Harbor build/push/pull commands to Makefile
  • Created GitHub Actions workflow for automated builds with Harbor integration
  • Added Harbor setup documentation

Harbor Registry

  • Images will be stored at: harbor.dataknife.net/library/high-command-api

GitHub Secrets Required

  • HARBOR_USERNAME
  • HARBOR_PASSWORD

Secrets are already configured in the repository.

Copilot AI review requested due to automatic review settings January 9, 2026 07:47

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR configures the project to use a private Harbor registry at harbor.dataknife.net for Docker image storage and distribution, transitioning away from local Docker builds. The changes introduce automated CI/CD integration with Harbor and add new Makefile targets for Harbor operations.

Key changes:

  • Configures Docker Compose to pull from Harbor registry instead of building locally
  • Adds Harbor login, push, and pull commands to Makefile with credential validation
  • Updates GitHub Actions workflow to push images to Harbor using self-hosted runners and registry-based caching

Reviewed changes

Copilot reviewed 4 out of 4 changed files in this pull request and generated 10 comments.

File Description
docker-compose.yml Replaces local build with Harbor registry image reference
Makefile Adds Harbor registry integration targets (login, push, pull) with credential validation
.github/workflows/docker.yml Converts workflow to build and push to Harbor with self-hosted runners and registry caching
.github/HARBOR_SETUP.md Provides setup documentation for Harbor credentials and usage instructions

Comment thread docker-compose.yml
Comment thread .github/workflows/docker.yml Outdated
Comment thread .github/workflows/docker.yml Outdated
Comment thread .github/workflows/docker.yml Outdated
Comment thread .github/workflows/docker.yml Outdated
Comment thread Makefile
Comment thread Makefile Outdated
Comment thread .github/HARBOR_SETUP.md Outdated
Comment thread Makefile Outdated
Comment thread .github/HARBOR_SETUP.md Outdated
Copilot AI review requested due to automatic review settings January 10, 2026 21:59

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 7 out of 7 changed files in this pull request and generated 8 comments.

Comment thread .gitlab-ci.yml Outdated
Comment thread .gitlab-ci.yml Outdated
Comment thread .github/workflows/tests.yml Outdated
Comment thread .github/workflows/docker.yml Outdated
Comment thread .gitlab-ci.yml Outdated
Comment thread .github/workflows/docker.yml Outdated
Comment thread .github/workflows/tests.yml Outdated
Comment thread .github/workflows/tests.yml
- GitLab CI: Use --password-stdin for secure Harbor login
- GitLab CI: Build once and tag instead of building twice
- GitLab CI: Replace deprecated 'only' with 'rules'
- Makefile: Use --password-stdin for docker-login (security)
- Makefile: Add .PHONY declarations for new targets
- Makefile: Reorder docker-push dependencies for clarity
- GitHub Actions: Standardize checkout action to v5
- GitHub Actions: Remove --force flag, use credential helper for git push
- GitHub Actions: Fix multiline command formatting
@surrealwolf
surrealwolf merged commit 6ade43c into main Jan 10, 2026
8 checks passed
@surrealwolf
surrealwolf deleted the harbor-registry-config branch January 10, 2026 22:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants