kotalco / core-api

Kotal core API
0 stars 0 forks source link

Build docker image from environment specific EC_PUBLIC_KEY #208

Closed mFarghaly closed 1 year ago

mFarghaly commented 1 year ago

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#L16

New 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.