Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,4 +25,4 @@ permissions:

jobs:
ci:
uses: cplieger/ci/.github/workflows/ci.yaml@6659f08fc7f512ad4ae4bc9a27b257ea423a433a # v2
uses: cplieger/ci/.github/workflows/ci.yaml@f19e2a239fe99c9300a2dc256a7e7c1b4357860b # v2
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,9 +32,11 @@ The `age-decrypt` binary is a single static Go executable on `gcr.io/distroless/
The expected workflow is encryption-at-rest in git, decryption at deploy:

1. Encrypt your `.env` files locally:

```bash
age -a -R recipients.txt -o apps/myservice/.env apps/myservice/.env.dec
```

2. Commit `apps/myservice/.env` (encrypted, ASCII-armored) to git. `.env.dec` stays local.
3. On each server, run `age-decrypt` as a pre-deploy step before your stack starts:

Expand Down
Loading