Skip to content

Commit

Permalink
Fix DEPLOY_ENVIRONMENT syntax in GoLang.Dockerfile
Browse files Browse the repository at this point in the history
Add needs: redis-proxy to call-deploy-workflow
  • Loading branch information
warrenchristian1telus committed Dec 17, 2024
1 parent 8b6752e commit 80673ea
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,7 @@ jobs:
name: 🚀 Deploy
uses: ./.github/workflows/deploy.yml
secrets: inherit
needs: [checkEnv, db, php, cron, moodle, web, call-cleanup-workflow]
needs: [checkEnv, db, php, cron, moodle, web, redis-proxy, call-cleanup-workflow]
if: |
(always() && needs.checkEnv.outputs.SKIP_DEPLOY == 'NO') &&
needs.checkEnv.result == 'success' &&
Expand Down
2 changes: 1 addition & 1 deletion GoLang.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ RUN mkdir /etc/sentinel_tunnel && \
apt-get clean && \
rm -rf /var/lib/apt/lists/*

COPY ./config/redis/sentinel_tunnel.$DEPLOY_ENVIRONMENT.config.json /etc/sentinel_tunnel/config.json
COPY ./config/redis/sentinel_tunnel.${DEPLOY_ENVIRONMENT}.config.json /etc/sentinel_tunnel/config.json

ENTRYPOINT ["/usr/local/bin/entrypoint"]
CMD ["/usr/local/bin/sentinel_tunnel", "/etc/sentinel_tunnel/config.json", "/dev/stdout"]
Expand Down

0 comments on commit 80673ea

Please sign in to comment.