-
Notifications
You must be signed in to change notification settings - Fork 75
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Adds compose v2 and v1 support #26
base: master
Are you sure you want to change the base?
Conversation
Commit an outstanding Pull Req from original repo
Create the input to do a conditional later
@@ -15,7 +15,7 @@ jobs: | |||
with: | |||
fetch-depth: 1 | |||
- name: Start Deployment | |||
uses: wshihadeh/docker-deployment-action@master | |||
uses: gonzalochief/docker-deployment-action@master |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
why did you change this?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
To test the fork
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
can you please reset this and push it again?
@@ -29,7 +29,7 @@ jobs: | |||
args: -p test up -d | |||
|
|||
- name: Start Deployment without copy | |||
uses: wshihadeh/docker-deployment-action@master | |||
uses: gonzalochief/docker-deployment-action@master |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
??
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
To test the fork
if [ "$INPUT_DEPLOYMENT_MODE" == "docker-compose" ] && [ "$INPUT_DOCKER_COMPOSE_VER" == "v2" ]; then | ||
DOCKER_COMP_COMMAND="docker compose" | ||
elif [ "$INPUT_DEPLOYMENT_MODE" == "docker-compose" ] && [ "$INPUT_DOCKER_COMPOSE_VER" == "v1" ]; then | ||
DOCKER_COMP_COMMAND="docker-compose" | ||
else | ||
DOCKER_COMP_COMMAND="docker compose" | ||
fi | ||
|
||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
if [ "$INPUT_DEPLOYMENT_MODE" == "docker-compose" ] && [ "$INPUT_DOCKER_COMPOSE_VER" == "v2" ]; then | |
DOCKER_COMP_COMMAND="docker compose" | |
elif [ "$INPUT_DEPLOYMENT_MODE" == "docker-compose" ] && [ "$INPUT_DOCKER_COMPOSE_VER" == "v1" ]; then | |
DOCKER_COMP_COMMAND="docker-compose" | |
else | |
DOCKER_COMP_COMMAND="docker compose" | |
fi | |
DOCKER_COMP_COMMAND="docker compose" | |
if [ "$INPUT_DEPLOYMENT_MODE" == "docker-compose" ] && [ "$INPUT_DOCKER_COMPOSE_VER" == "v1" ]; then | |
DOCKER_COMP_COMMAND="docker-compose" | |
fi |
can you reset the |
Please reject the changes to the main.yaml file. Those changes do not affect the functionality. the change was made for testing purposes.
the rest is OK and tested.