diff --git a/.drone.yml b/.drone.yml index 901dd06..a76c2a9 100644 --- a/.drone.yml +++ b/.drone.yml @@ -31,12 +31,12 @@ steps: path: /run/podman/podman.sock - name: containers-config path: /etc/containers - settings: + environment: REGISTRY_USER: from_secret: swr_username REGISTRY_PASSWORD: from_secret: swr_password - REGISTRY_SERVER: swr.cn-north-4.myhuaweicloud.com + REGISTRY_SERVER: "swr.cn-north-4.myhuaweicloud.com" commands: - | echo "Logging into registry..." @@ -60,8 +60,8 @@ steps: path: /run/podman/podman.sock - name: containers-config path: /etc/containers - settings: - REGISTRY_SERVER: swr.cn-north-4.myhuaweicloud.com/colovu/scratch + environment: + REGISTRY_SERVER: "swr.cn-north-4.myhuaweicloud.com/colovu/scratch" DRONE_TAG: ${DRONE_TAG} DRONE_COMMIT_SHA: ${DRONE_COMMIT_SHA} DRONE_BRANCH: ${DRONE_BRANCH}