mirror of
https://github.com/yanislav-igonin/micrach
synced 2024-12-22 14:22:33 +03:00
fix: deploy
This commit is contained in:
parent
bae88241d4
commit
adf03d80ce
5
.github/workflows/push.yml
vendored
5
.github/workflows/push.yml
vendored
@ -61,6 +61,7 @@ jobs:
|
||||
key: ${{ secrets.VPS_SSH_PRIVATE_KEY }}
|
||||
script: |
|
||||
docker login -u ${{ github.actor }} -p ${{ secrets.GITHUB_TOKEN }} ${{ env.REGISTRY }}
|
||||
docker pull ${{ env.REGISTRY }}:${{ github.event.release.tag_name }}
|
||||
# docker pull ${{ env.REGISTRY }}:${{ github.event.release.tag_name }}
|
||||
docker pull ${{ env.REGISTRY }}:latest
|
||||
docker service update --image ${{ env.REGISTRY }}:${{ github.event.release.tag_name }} ${{ env.SERVICE_NAME }}
|
||||
# docker service update --image ${{ env.REGISTRY }}:${{ github.event.release.tag_name }} ${{ env.SERVICE_NAME }}
|
||||
docker service update --image ${{ env.REGISTRY }}:latest ${{ env.SERVICE_NAME }}
|
Loading…
Reference in New Issue
Block a user