Change Harbor test to use correct procedure
Some checks are pending
CI/CD Pipeline / Test Backend (push) Waiting to run
CI/CD Pipeline / Test Frontend (push) Waiting to run
CI/CD Pipeline / Build and Push Docker Images (push) Blocked by required conditions
CI/CD Pipeline / Deploy to Production (push) Blocked by required conditions

This commit is contained in:
continuist 2025-06-29 13:42:16 -04:00
parent 99008b4aa3
commit 618ce2d679

View file

@ -749,13 +749,13 @@ docker build -f /tmp/test.Dockerfile -t YOUR_CI_CD_IP/APP_NAME/test:latest /tmp
# Push to Harbor (requires authentication)
docker push YOUR_CI_CD_IP/APP_NAME/test:latest
# Verify image is in Harbor
curl -k https://localhost/v2/_catalog
# Test public pull (no authentication required)
docker logout YOUR_CI_CD_IP
docker pull YOUR_CI_CD_IP/APP_NAME/test:latest
# Verify the image was pulled successfully
docker images | grep APP_NAME/test
# Clean up test image
docker rmi YOUR_CI_CD_IP/APP_NAME/test:latest
```