From adf03d80ce9a36ffbbaeb273811b82bcd6afcc00 Mon Sep 17 00:00:00 2001 From: Yanislav Igonin Date: Sun, 29 Aug 2021 10:07:12 +0300 Subject: [PATCH] fix: deploy --- .github/workflows/push.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/push.yml b/.github/workflows/push.yml index 3d87377..473c0e3 100644 --- a/.github/workflows/push.yml +++ b/.github/workflows/push.yml @@ -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 }} \ No newline at end of file + # docker service update --image ${{ env.REGISTRY }}:${{ github.event.release.tag_name }} ${{ env.SERVICE_NAME }} + docker service update --image ${{ env.REGISTRY }}:latest ${{ env.SERVICE_NAME }} \ No newline at end of file