Skip to content

Commit 441e162

Browse files
authored
Merge pull request #34 from AMeierDev/develop
docker pull eingebaut
2 parents 90dca74 + c0004ec commit 441e162

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.github/workflows/build_java_docker.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,4 +105,4 @@ jobs:
105105
SSH_PRIVATE_KEY: ${{secrets.SSH_PRIVATE_KEY}}
106106
SSH_KNOWN_HOSTS: ${{secrets.SSH_KNOWN_HOSTS}}
107107
- name: start docker with ssh
108-
run: ssh -i ~/private.key -p 19999 bigmama@bigamgamen.de 'docker remove -f bot-${{ env.GIT_BRANCH_NAME }} && docker run -d -v chatbotvol-${{ env.GIT_BRANCH_NAME }}:/opt/telegrambot/data --env-file ~/chatbot/env_${{ env.GIT_BRANCH_NAME }} --restart unless-stopped --name bot-${{ env.GIT_BRANCH_NAME }} amgamen/chatbot:${{ env.GIT_BRANCH_NAME }}'
108+
run: ssh -i ~/private.key -p 19999 bigmama@bigamgamen.de 'docker remove -f bot-${{ env.GIT_BRANCH_NAME }} && docker image pull amgamen/chatbot:${{ env.GIT_BRANCH_NAME }} && docker run -d -v chatbotvol-${{ env.GIT_BRANCH_NAME }}:/opt/telegrambot/data --env-file ~/chatbot/env_${{ env.GIT_BRANCH_NAME }} --restart unless-stopped --name bot-${{ env.GIT_BRANCH_NAME }} amgamen/chatbot:${{ env.GIT_BRANCH_NAME }}'

0 commit comments

Comments
 (0)