Skip to content

Commit

Permalink
Fix use variables in CI/CD
Browse files Browse the repository at this point in the history
  • Loading branch information
egalvis39 committed Nov 15, 2023
1 parent 037e576 commit f113b9c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -74,16 +74,16 @@ jobs:
context: .
file: ./Dockerfile
push: true
tags: ${{ variables.MENUFLOW_IMAGE }}
tags: ${{ MENUFLOW_IMAGE }}

-
name: Run Bash script
# Download updated docker image to testing server
run: |
echo "** Download updated docker image **"
ssh -tt $secrets.HOST_TESTING "docker pull $variables.MENUFLOW_IMAGE"
ssh -tt $secrets.HOST_TESTING "docker pull $MENUFLOW_IMAGE"
echo "** Update menuflow image in registered domains **"
for domain in ${variables.DOMAINS}; do
for domain in ${DOMAINS}; do
echo " >> Setting service variables"
stack_name=$(echo ${domain} | tr -d '.')
service=$(echo ${domain} | cut -d '.' -f1)
Expand Down

0 comments on commit f113b9c

Please sign in to comment.