Skip to content

Commit

Permalink
generate and redirect compose file
Browse files Browse the repository at this point in the history
docker engine does not support extends in compose files...
moby/moby#31101
  • Loading branch information
Kyle-Verhoog committed Oct 31, 2020
1 parent 588da5d commit 5a15674
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/cd.yml
Expand Up @@ -27,7 +27,7 @@ jobs:
eval $(ssh-agent)
ssh-add "$HOME/.ssh/docker"
echo "crossroadsajax.church $SSH_KNOWN_HOST" >> ~/.ssh/known_hosts
docker --host "ssh://kyle@crossroadsajax.church" stack deploy -c prod.yml --with-registry-auth prod
docker --host "ssh://kyle@crossroadsajax.church" stack deploy --compose-file <(docker-compose -f prod.yml config) --with-registry-auth prod
shell: bash
env:
SSH_PRIV_KEY: ${{ secrets.DOCKER_SSH_PRIVATE_KEY }}
Expand Down Expand Up @@ -57,7 +57,7 @@ jobs:
eval $(ssh-agent)
ssh-add "$HOME/.ssh/docker"
echo "crossroadsajax.church $SSH_KNOWN_HOST" >> ~/.ssh/known_hosts
docker --host "ssh://kyle@crossroadsajax.church" stack deploy -c staging.yml --with-registry-auth staging
docker --host "ssh://kyle@crossroadsajax.church" stack deploy --compose-file <(docker-compose -f staging.yml config) --with-registry-auth staging
shell: bash
env:
SSH_PRIV_KEY: ${{ secrets.DOCKER_SSH_PRIVATE_KEY }}
Expand Down

0 comments on commit 5a15674

Please sign in to comment.