From a956690609360a75ac2105976a0263eccab70256 Mon Sep 17 00:00:00 2001 From: linuxMate Date: Wed, 29 Nov 2023 12:42:45 +0300 Subject: [PATCH] try5 --- .github/workflows/CD.yaml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.github/workflows/CD.yaml b/.github/workflows/CD.yaml index ca6abd28..be2244aa 100644 --- a/.github/workflows/CD.yaml +++ b/.github/workflows/CD.yaml @@ -161,6 +161,9 @@ jobs: SERVER_PORT=8080 SECRET=${{ secrets.SECRET }} IMAGE_NAME=${{ env.IMAGE_NAME }} + AUTH_CONTAINER=${{ env.AUTH_CONTAINER }} + ACCOUNT_CONTAINER${{ env.ACCOUNT_CONTAINER }} + CATEGORY_CONTAINER=${{ env.CATEGORY_CONTAINER }} REGISTRY=${{ env.REGISTRY }} CONTAINER_NAME=${{ env.CONTAINER_NAME }} REDIS_HOST=${{ secrets.REDIS_HOST }} @@ -172,6 +175,9 @@ jobs: echo ${{ secrets.DOCKERHUB_TOKEN }} | sudo docker login --username ${{ secrets.DOCKERHUB_USERNAME }} --password-stdin sudo docker pull $REGISTRY/$IMAGE_NAME:latest + sudo docker pull $REGISTRY/$AUTH_CONTAINER:latest + sudo docker pull $REGISTRY/$ACCOUNT_CONTAINER:latest + sudo docker pull $REGISTRY/$CATEGORY_CONTAINER:latest sudo docker system prune -f sudo docker-compose down