az acr pipeline-run

참고

이 참조는 Azure CLI에 대 한 acrtransfer 확장의 일부 이며 버전 2.0.67 이상이 필요 합니다. Az acr pipeline-run 명령을 처음 실행할 때 확장이 자동으로 설치 됩니다. 확장에 대해 자세히 알아보세요.

ACR 가져오기 및 내보내기 파이프라인 실행을 관리 합니다.

명령

az acr pipeline-run create

파이프라인 실행을 만듭니다.

az acr pipeline-run delete

내보내기 파이프라인을 삭제 합니다.

az acr pipeline-run list

컨테이너 레지스트리의 모든 파이프라인에 대 한 pipelineruns를 나열 합니다.

az acr pipeline-run show

내보내기 파이프라인을 자세히 표시 합니다.

az acr pipeline-run create

파이프라인 실행을 만듭니다.

az acr pipeline-run create --name
                           --pipeline
                           --pipeline-type
                           --registry
                           --resource-group
                           --storage-blob
                           [--artifacts]
                           [--force-redeploy]

예제

가져오기 파이프라인 실행을 만듭니다.

az acr pipeline-run create --resource-group $MyRG --registry $MyReg --pipeline $MyPipeline --name $MyPipelineRunName --pipeline-type import --storage-blob $MyBlob

내보내기 파이프라인 실행 및 강제 재배포를 만듭니다.

az acr pipeline-run create --resource-group $MyRG --registry $MyReg --pipeline $MyPipeline --name $MyPipelineRunName --pipeline-type export --storage-blob $MyBlob --artifacts hello-world:latest hello-world@sha256:90659bf80b44ce6be8234e6ff90a1ac34acbeb826903b02cfa0da11c82cbc042 --force-redeploy

필수 매개 변수

--name -n

파이프라인 실행의 이름입니다.

--pipeline -p

실행할 파이프라인의 이름입니다.

--pipeline-type -t

파이프라인의 유형입니다. 가져오기 또는 내보내기 중 하나 여야 합니다.

--registry -r

레지스트리의 이름입니다.

--resource-group -g

리소스 그룹의 이름입니다. az configure --defaults group=<name>을 사용하여 기본 그룹을 구성할 수 있습니다.

--storage-blob -b

가져오거나 내보낼 저장소 blob의 이름입니다.

선택적 매개 변수

--artifacts -a

컨테이너 아티팩트의 공백으로 구분 된 목록입니다. Artifacts은 형식 repository:tag 이거나 repository@digest hello-세계: 최신 또는와 같은 형식 이어야 합니다 hello-world@sha256:90659bf80b44ce6be8234e6ff90a1ac34acbeb826903b02cfa0da11c82cbc042 .

--force-redeploy -f

매개 변수가 변경 되지 않은 경우에도 ARM에서 리소스를 다시 배포 하도록 하는 플래그입니다.

az acr pipeline-run delete

내보내기 파이프라인을 삭제 합니다.

az acr pipeline-run delete --name
                           --registry
                           --resource-group

예제

내보내기 파이프라인을 삭제 합니다.

az acr pipeline-run delete --resource-group $MyRG --registry $MyReg --name $MyPipelineRun

필수 매개 변수

--name -n

파이프라인 실행의 이름입니다.

--registry -r

레지스트리의 이름입니다.

--resource-group -g

리소스 그룹의 이름입니다. az configure --defaults group=<name>을 사용하여 기본 그룹을 구성할 수 있습니다.

az acr pipeline-run list

컨테이너 레지스트리의 모든 파이프라인에 대 한 pipelineruns를 나열 합니다.

az acr pipeline-run list --registry
                         --resource-group

예제

컨테이너 레지스트리의 모든 내보내기 파이프라인 나열

az acr pipeline-run list --resource-group $MyRG --registry $MyReg

필수 매개 변수

--registry -r

레지스트리의 이름입니다.

--resource-group -g

리소스 그룹의 이름입니다. az configure --defaults group=<name>을 사용하여 기본 그룹을 구성할 수 있습니다.

az acr pipeline-run show

내보내기 파이프라인을 자세히 표시 합니다.

az acr pipeline-run show --name
                         --registry
                         --resource-group

예제

특정 내보내기 파이프라인을 자세히 표시 합니다.

az acr pipeline-run show --resource-group $MyRG --registry $MyReg --name $MyPipelineRun

필수 매개 변수

--name -n

파이프라인 실행의 이름입니다.

--registry -r

레지스트리의 이름입니다.

--resource-group -g

리소스 그룹의 이름입니다. az configure --defaults group=<name>을 사용하여 기본 그룹을 구성할 수 있습니다.