Tag and Push the Docker Image for Cloud Platforms

Cloud Platform Steps
AWS EKS
  1. Retrieve an authentication token and authenticate your Docker client to your registry.
  2. For example:

    aws ecr get-login-password --region us-west-2 | docker login --username AWS --password-stdin AWS_ACCOUNT_ID.dkr.ecr.us-west-2.amazonaws.com/pscc/psc

  3. Tag your images to push to ECR Registry
    docker tag pscc/psc:latest AWS_ACCOUNT_ID.dkr.ecr.us-west-2.amazonaws.com/pscc/psc:latest
  4. Run the following command to push this image to your newly created AWS repository:
    docker push 061574984669.dkr.ecr.us-west-2.amazonaws.com/pscc/psc:latest
Microsoft Azure
  1. To use the TIBCO PSC application container images with Azure Container Registry, tag the image with the login server address of your registry.
    1. View the list of your local image by using the docker images command.
      $ docker images
      
      REPOSITORY     TAG            IMAGE ID         CREATED    SIZE
      pscc/ignite    version.latest   18763f0d1403 3 weeks ago    790MB
      
    2. Get the login server address for the Azure Container Registry by using the az acr list command.
      az acr list --resource-group resource_group_name --query "[].{acrLoginServer:loginServer}" --output table
    3. Tag your application image with the login server address of your registry from the earlier step. This creates an alias of the application image with a fully qualified path to your registry.
      docker tag pscc/ignite:version.latest psctestregistry.azurecr.io/pscc/ignite:version.latest
    4. Push the application image to your container registry by using the docker push command.
      docker push psctestregistry.azurecr.io/pscc/ignite:version.latest
    5. Push for all other TIBCO PSC cluster images by using the docker push command.