저장소 불변 태그 수정 요청
저장소 불변 태그 수정 요청 (update_repository_immutable_tags_request)
Docker Hub 저장소의 불변 태그 설정을 수정할 때 보내는 요청 스키마예요. 불변 태그 활성 여부와 규칙 목록을 지정해요.
출처: 문서
본문
요청 본문은 immutable_tags와 immutable_tags_rules 두 필드를 가진 객체예요. 둘 다 필수예요.
immutable_tags: 불변 태그 활성 여부immutable_tags_rules: 불변 태그 규칙 목록 (정규식, 예:v.*,.*-RELEASE)
{
"examples": [
{
"immutable_tags": true,
"immutable_tags_rules": [
"v.*",
".*-RELEASE"
]
}
],
"properties": {
"immutable_tags": {
"description": "Whether immutable tags are enabled",
"type": "boolean"
},
"immutable_tags_rules": {
"description": "List of immutable tag rules",
"example": [
"v.*",
".*-RELEASE"
],
"items": {
"type": "string"
},
"type": "array"
}
},
"required": [
"immutable_tags",
"immutable_tags_rules"
],
"type": "object"
}
더 알아보기
- 불변 태그 설정 (immutable_tags_settings): 불변 태그 설정 구조를 확인해요.
- 불변 태그 검증 요청 (immutable_tags_verify_request): 규칙을 검증하는 요청을 살펴봐요.