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 10517a0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/cd.yml
Original file line number Diff line number Diff line change
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://[email protected]" stack deploy -c prod.yml --with-registry-auth prod
docker --host "ssh://[email protected]" 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://[email protected]" stack deploy -c staging.yml --with-registry-auth staging
docker --host "ssh://[email protected]" 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 10517a0

Please sign in to comment.