From 10517a01b7d344c14da70f0090e7a63f57979343 Mon Sep 17 00:00:00 2001 From: kyle-verhoog Date: Sat, 31 Oct 2020 05:12:42 -0400 Subject: [PATCH] generate and redirect compose file docker engine does not support extends in compose files... https://github.com/moby/moby/issues/31101 --- .github/workflows/cd.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/cd.yml b/.github/workflows/cd.yml index ed1163d..0cf4d2f 100644 --- a/.github/workflows/cd.yml +++ b/.github/workflows/cd.yml @@ -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 }} @@ -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 }}