0

プライベート Azure レジストリのコンテナー イメージを使用して、Azure パイプラインでコンテナー ジョブを実行しようとしています。

I followed those instructions and ended up with this pipeline configuration:

resources:
  containers:
  - container: build_container
    image: gxg08regtest.azurecr.io/ci-build-image:66162
    endpoint: SandboxGXG08

pool:
  vmImage: 'ubuntu-16.04'

container: build_container

steps:
- script: ./build.sh

It seems to follow the pattern but still give the this error:

Expected 'dockerregistry' service connection type for image registry referenced by build_container, but got azurerm for service connection SandboxGXG08.

It seems to me like the parser couldn't match the correct pattern while parsing my image declaration.

Any idea?

4

1 に答える 1