저장소 불변 태그 수정 요청

저장소 불변 태그 수정 요청 (update_repository_immutable_tags_request)

Docker Hub 저장소의 불변 태그 설정을 수정할 때 보내는 요청 스키마예요. 불변 태그 활성 여부와 규칙 목록을 지정해요.

출처: 문서

본문

요청 본문은 immutable_tagsimmutable_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"
}

더 알아보기