Skip to content

Commit

Permalink
Call gha-mask writer
Browse files Browse the repository at this point in the history
  • Loading branch information
fheinecke committed Dec 19, 2024
1 parent 66a63b6 commit 9ea212e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 8 deletions.
8 changes: 1 addition & 7 deletions tools/env-loader/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ The following input formats are currently supported:

The following output formats are currently supported:
* dotenv
* gha-mask

When loading environment values from a given "value set", the tool will search
for and load the following files in order:
Expand Down Expand Up @@ -63,10 +64,3 @@ name of Cloud roles with permission to decrypt secrets in the CI/CD tool value
store, and then authenticate with the Cloud provider via OIDC. This puts the
root of trust entirely on the CI/CD tool OIDC provider, rather than the value
store.

## Future work

* Add tests
* Add dev tooling
* Add CI/CD pipelines
* Add GitHub action
4 changes: 3 additions & 1 deletion tools/env-loader/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -85,4 +85,6 @@ runs:
ENV_LOADER_ENVIRONMENTS_DIRECTORY: "${{ inputs.environments-directory }}"
ENV_LOADER_ENVIRONMENT: "${{ inputs.environment-name }}"
ENV_LOADER_VALUE_SETS: "${{ inputs.value-sets }}"
run: env-loader >> "${GITHUB_ENV}"
run: |
env-loader --format gha-mask
env-loader >> "${GITHUB_ENV}"

0 comments on commit 9ea212e

Please sign in to comment.