From e3319d4dfdbf2b61f5f518bd05b98f2a6d89d7f0 Mon Sep 17 00:00:00 2001 From: iqbalpa Date: Sun, 14 Jul 2024 06:56:29 +0700 Subject: [PATCH] feat: update docker image --- .github/workflows/deploy.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 84b8aa9..4858711 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -73,6 +73,7 @@ jobs: key: ${{ secrets.GCP_SSH_PRIVATE_KEY }} script: | echo "DATABASE_URL=postgresql://${{ vars.DATABASE_USERNAME }}:${{ vars.DATABASE_PASSWORD }}@${{ vars.DATABASE_HOST }}:5432/${{ vars.DATABASE_NAME }}?schema=public" >> .env + sed -i -e 's/iqbalpa\/backend-movies/${{ secrets.DOCKERHUB_USERNAME }}\/${{ vars.DOCKER_IMAGE_NAME }}/g' docker-compose.yml docker compose -f /home/${{ secrets.GCP_USER }}/docker-compose.yml down docker compose -f /home/${{ secrets.GCP_USER }}/docker-compose.yml up --pull always -d docker image prune -f -a