From cd4fbc6cbac608aad078b93cf548caf4801f66cd Mon Sep 17 00:00:00 2001 From: Ibrahim Suleiman Date: Sat, 23 May 2026 18:12:07 +0100 Subject: [PATCH] chore: streamline Docker compose command in GitHub Actions workflow by exporting environment variables for API and Web images --- .github/workflows/deploy.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 2b9fd90..cfdace2 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -54,5 +54,7 @@ jobs: WEB_IMAGE=ghcr.io/${{ github.repository }}-web:${{ github.sha }} echo ${{ secrets.GHCR_TOKEN }} | docker login ghcr.io -u ${{ github.actor }} --password-stdin cd ~/deployed_apps/futureself-mono + export API_IMAGE=$API_IMAGE + export WEB_IMAGE=$WEB_IMAGE docker compose pull - API_IMAGE=$API_IMAGE WEB_IMAGE=$WEB_IMAGE docker compose up -d --no-deps --force-recreate \ No newline at end of file + docker compose up -d --no-deps --force-recreate \ No newline at end of file