Currently, subscription environment is run with different private keys depending on environment, so we want to build cloud-api service with the corresponding EC public key or communication will fail between both services.
Build docker image from GitHub secret called STAGING_EC_PUBLIC_KEY if commit is not tagged.
Build docker image from GitHub secret called PRODUCTION_EC_PUBLIC_KEY if commit is tagged with v* tags.
Currently we're building docker image using build-time variables mounted from a GitHub secret called
EC_PUBLIC_KEY
regardless of the environment. https://github.com/kotalco/cloud-api/blob/master/Dockerfile#L16New Requirement
Currently, subscription environment is run with different private keys depending on environment, so we want to build cloud-api service with the corresponding EC public key or communication will fail between both services.
v*
tags.