From 39f86c03380e28bcd33ba8e68824ca7c39b79176 Mon Sep 17 00:00:00 2001 From: Artem Bulgakov Date: Thu, 25 Jan 2024 00:05:05 +0300 Subject: [PATCH] deploy: always pull newer image for Dockerfile base --- .github/workflows/deploy-production.yaml | 2 +- .github/workflows/deploy-staging.yaml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/deploy-production.yaml b/.github/workflows/deploy-production.yaml index 6b5e511..5c74510 100644 --- a/.github/workflows/deploy-production.yaml +++ b/.github/workflows/deploy-production.yaml @@ -28,6 +28,6 @@ jobs: git reset --hard git checkout ${{ github.ref_name }} git pull - docker compose build + docker compose build --pull docker compose pull docker compose up -d diff --git a/.github/workflows/deploy-staging.yaml b/.github/workflows/deploy-staging.yaml index 9d609b2..e45fc3c 100644 --- a/.github/workflows/deploy-staging.yaml +++ b/.github/workflows/deploy-staging.yaml @@ -31,6 +31,6 @@ jobs: git reset --hard git checkout ${{ github.ref_name }} git pull - docker compose build + docker compose build --pull docker compose pull docker compose up -d