File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -116,27 +116,17 @@ jobs:
116116 working-directory : /
117117 comment : Deploy
118118 command : |
119-
120119 export DOPPLER_TOKEN="${{ secrets.DOPPLER_TOKEN }}"
121120
122121 docker pull ghcr.io/${{ needs.buildImageAndPush.outputs.owner_lc }}/${{ needs.buildImageAndPush.outputs.image_name }}:latest
123122
124123 docker stop app1 2>/dev/null || true
125124 docker rm app1 2>/dev/null || true
126125
127- doppler secrets download \
128- --project waitfair \
129- --config prd \
130- --format env-no-quotes \
131- --no-file \
132- | docker run -d \
133- --name app1 \
134- --restart unless-stopped \
135- --network common \
136- -p 8080:8080 \
137- --env-file /dev/stdin \
138- ghcr.io/${{ needs.buildImageAndPush.outputs.owner_lc }}/${{ needs.buildImageAndPush.outputs.image_name }}:latest
126+ doppler secrets download --project waitfair --config prd --format env-no-quotes --no-file | \
127+ docker run -d --name app1 --network common -p 8080:8080 \
128+ --env-file /dev/stdin \
129+ ghcr.io/${{ needs.buildImageAndPush.outputs.owner_lc }}/${{ needs.buildImageAndPush.outputs.image_name }}:latest
139130
140131 unset DOPPLER_TOKEN
141-
142132 docker image prune -f
You can’t perform that action at this time.
0 commit comments