File tree Expand file tree Collapse file tree 1 file changed +6
-7
lines changed
Expand file tree Collapse file tree 1 file changed +6
-7
lines changed Original file line number Diff line number Diff line change @@ -43,7 +43,6 @@ if [ -z "$INPUT_SSH_PORT" ]; then
4343 INPUT_SSH_PORT=22
4444fi
4545
46- COMPOSE_FILE=${INPUT_COMPOSE_FILE_PATH}
4746DOCKER_HOST=ssh://${INPUT_REMOTE_DOCKER_HOST} :${INPUT_SSH_PORT}
4847
4948SSH_HOST=${INPUT_REMOTE_DOCKER_HOST#*@ }
9594if $INPUT_DOCKER_SWARM
9695then
9796 echo " docker swarm mode enabled, using docker stack command"
98- echo " Command: docker ${INPUT_ARGS} stack deploy --compose-file ${COMPOSE_FILE } "
99- docker ${INPUT_ARGS} stack deploy --compose-file ${COMPOSE_FILE }
97+ echo " Command: docker ${INPUT_ARGS} stack deploy --compose-file ${INPUT_COMPOSE_FILE_PATH } "
98+ docker ${INPUT_ARGS} stack deploy --compose-file ${INPUT_COMPOSE_FILE_PATH }
10099else
101- echo " Command: docker compose -f ${COMPOSE_FILE } pull"
102- docker compose -f ${COMPOSE_FILE } pull
100+ echo " Command: docker compose -f ${INPUT_COMPOSE_FILE_PATH } pull"
101+ docker compose -f ${INPUT_COMPOSE_FILE_PATH } pull
103102
104- echo " Command: docker compose -f ${COMPOSE_FILE } ${INPUT_ARGS} "
105- docker compose -f ${COMPOSE_FILE } ${INPUT_ARGS}
103+ echo " Command: docker compose -f ${INPUT_COMPOSE_FILE_PATH } ${INPUT_ARGS} "
104+ docker compose -f ${INPUT_COMPOSE_FILE_PATH } ${INPUT_ARGS}
106105fi
107106
You can’t perform that action at this time.
0 commit comments