Merge pull request #29 from haroldwongms/fixregistry
use proper oc set env
This commit is contained in:
Коммит
275f63fe2f
|
@ -8,4 +8,4 @@
|
||||||
description: "Set registry to use Azure Storage"
|
description: "Set registry to use Azure Storage"
|
||||||
tasks:
|
tasks:
|
||||||
- name: Configure docker-registry to use Azure Storage
|
- name: Configure docker-registry to use Azure Storage
|
||||||
shell: oc env dc docker-registry -e REGISTRY_STORAGE=azure -e REGISTRY_STORAGE_AZURE_ACCOUNTNAME={{ lookup('env','REGISTRYSA') }} -e REGISTRY_STORAGE_AZURE_ACCOUNTKEY={{ lookup('env','ACCOUNTKEY') }} -e REGISTRY_STORAGE_AZURE_CONTAINER=registry -e REGISTRY_STORAGE_AZURE_REALM=core.usgovcloudapi.net
|
shell: oc set env dc docker-registry -e REGISTRY_STORAGE=azure -e REGISTRY_STORAGE_AZURE_ACCOUNTNAME={{ lookup('env','REGISTRYSA') }} -e REGISTRY_STORAGE_AZURE_ACCOUNTKEY={{ lookup('env','ACCOUNTKEY') }} -e REGISTRY_STORAGE_AZURE_CONTAINER=registry -e REGISTRY_STORAGE_AZURE_REALM=core.usgovcloudapi.net
|
||||||
|
|
|
@ -8,4 +8,4 @@
|
||||||
description: "Set registry to use Azure Storage"
|
description: "Set registry to use Azure Storage"
|
||||||
tasks:
|
tasks:
|
||||||
- name: Configure docker-registry to use Azure Storage
|
- name: Configure docker-registry to use Azure Storage
|
||||||
shell: oc env dc docker-registry -e REGISTRY_STORAGE=azure -e REGISTRY_STORAGE_AZURE_ACCOUNTNAME={{ lookup('env','REGISTRYSA') }} -e REGISTRY_STORAGE_AZURE_ACCOUNTKEY={{ lookup('env','ACCOUNTKEY') }} -e REGISTRY_STORAGE_AZURE_CONTAINER=registry -e REGISTRY_STORAGE_AZURE_REALM=core.windows.net
|
shell: oc set env dc docker-registry -e REGISTRY_STORAGE=azure -e REGISTRY_STORAGE_AZURE_ACCOUNTNAME={{ lookup('env','REGISTRYSA') }} -e REGISTRY_STORAGE_AZURE_ACCOUNTKEY={{ lookup('env','ACCOUNTKEY') }} -e REGISTRY_STORAGE_AZURE_CONTAINER=registry -e REGISTRY_STORAGE_AZURE_REALM=core.windows.net
|
||||||
|
|
Загрузка…
Ссылка в новой задаче