#360 Use the correct secret for registry push
Merged a year ago by lucarval. Opened a year ago by lucarval.
lucarval/waiverdb fix-registry-credentials  into  master

@@ -95,9 +95,9 @@ 

  - Please go to your registry dashboard and create a robot account.

  - Backup your docker-config-json file (`$HOME/.docker/config.json`) if present.

  - Run `docker login` with the robot account you just created to produce a new docker-config-json file.

- - Create a new [OpenShift secret for registries][] named `factory2-psi-registry-credentials` from your docker-config-json file:

+ - Create a new [OpenShift secret for registries][] named `factory2-pipeline-registry-credentials` from your docker-config-json file:

  ```bash

-   oc create secret generic factory2-psi-registry-credentials \

+   oc create secret generic factory2-pipeline-registry-credentials \

      --from-file=.dockerconfigjson="$HOME/.docker/config.json" \

      --type=kubernetes.io/dockerconfigjson

  ```

@@ -70,7 +70,7 @@ 

    value: "quay.io/factory2/waiverdb"

  - name: CONTAINER_REGISTRY_CREDENTIALS

    displayName: Secret name of container registries used for pulling and pushing images

-   value: factory2-psi-registry-credentials

+   value: factory2-pipeline-registry-credentials

    required: false

  - name: WAIVERDB_DEV_IMAGE_TAG

    displayName: Tag name of the resulting container image for development environment

@@ -33,7 +33,7 @@ 

    value: docker-registry.upshift.redhat.com/factory2/waiverdb-jenkins-slave:latest

  - name: CONTAINER_REGISTRY_CREDENTIALS

    displayName: Secret name of container registries used for pulling and pushing images

-   value: factory2-psi-registry-credentials

+   value: factory2-pipeline-registry-credentials

    required: false

  - name: JENKINS_AGENT_CLOUD_NAME

    displayName: Name of OpenShift cloud in Jenkins master configuration

@@ -26,7 +26,7 @@ 

    value: "quay.io/factory2/waiverdb"

  - name: CONTAINER_REGISTRY_CREDENTIALS

    displayName: Secret name of container registries used for pulling and pushing images

-   value: factory2-psi-registry-credentials

+   value: factory2-pipeline-registry-credentials

    required: false

  - name: TAG_INTO_IMAGESTREAM

    displayName: Whether to tag the image into an ImageStream

@@ -33,7 +33,7 @@ 

    value: docker-registry.upshift.redhat.com/factory2/waiverdb-jenkins-slave:latest

  - name: CONTAINER_REGISTRY_CREDENTIALS

    displayName: Secret name of container registries used for pulling and pushing images

-   value: factory2-psi-registry-credentials

+   value: factory2-pipeline-registry-credentials

    required: false

  - name: JENKINS_AGENT_CLOUD_NAME

    displayName: Name of OpenShift cloud in Jenkins master configuration