We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent eb1dbb2 commit 3606e16Copy full SHA for 3606e16
1 file changed
.github/workflows/cpflow-promote-staging-to-production.yml
@@ -203,14 +203,13 @@ jobs:
203
204
- name: Copy image from staging
205
env:
206
- # Pass the upstream token via env rather than `-t` so it doesn't appear in /proc/<pid>/cmdline.
207
CPLN_UPSTREAM_TOKEN: ${{ secrets.CPLN_TOKEN_STAGING }}
208
PRODUCTION_APP_NAME: ${{ vars.PRODUCTION_APP_NAME }}
209
CPLN_ORG_PRODUCTION: ${{ vars.CPLN_ORG_PRODUCTION }}
210
shell: bash
211
run: |
212
set -euo pipefail
213
- cpflow copy-image-from-upstream -a "${PRODUCTION_APP_NAME}" --org "${CPLN_ORG_PRODUCTION}"
+ cpflow copy-image-from-upstream -a "${PRODUCTION_APP_NAME}" -t "${CPLN_UPSTREAM_TOKEN}" --org "${CPLN_ORG_PRODUCTION}"
214
215
- name: Deploy image to production
216
0 commit comments