mirror of
https://github.com/goharbor/harbor.git
synced 2024-11-01 16:19:37 +01:00
759 B
759 B
Test 9-04 User pull unsigned images(DB mode)
Purpose:
To verify whether user can pull unsigned images with content trust enabled.
References:
User guide
Environment:
- This test requires one Harbor instance is running and available.
- Harbor is set to authenticate against a local database.The user data is stored in a local database.
- A Linux host with Docker CLI(Docker client) installed.
Test Steps:
- Login UI and create a project.
- On Docker client, unset DOCKER_CONTENT_TRUST and login Harbor.
- Push an image to the project created in step1.
- Reset DOCKER_CONTENT_TRUST to 1.
- Pull the unsigned image.
Expected Outcome:
- User cannot pull unsigned images with content trust enabled.
Possible Problems:
None