Change Harbor test to use correct procedure
Some checks are pending
Some checks are pending
This commit is contained in:
parent
99008b4aa3
commit
618ce2d679
1 changed files with 3 additions and 3 deletions
|
@ -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
|
||||
```
|
||||
|
|
Loading…
Add table
Reference in a new issue