ccao-data / actions

GitHub Actions for CCAO Data projects
0 stars 0 forks source link

Allow callers to set Batch job container env vars in `build-and-run-batch-job` workflow #6

Closed jeancochrane closed 7 months ago

jeancochrane commented 7 months ago

This PR allows workflows that call build-and-run-batch-job to set a CONTAINER_ENV_VARS secret that will be used to set environment variables in the container that runs the Batch job. We configure this option as a secret rather than an input because environmental variables are often secret values.

For an example of this change in action, see this res model PR: https://github.com/ccao-data/model-res-avm/pull/64/files