bcgov / moh-gis

Apache License 2.0
0 stars 0 forks source link

Update Dockerfile and dev-workflow.yaml for base64 #6

Closed arlowatts closed 1 year ago

arlowatts commented 1 year ago

Secrets stored as GitHub Secrets can be passed as build args to a Docker build. However, they must not contain any newlines or other special characters. These changes use base64-encoded versions of two secrets and decode them in the Dockerfile, ensuring that the secrets are properly passed to the Docker build.