From 3398f3f7fd62df1a5743bba5441c217cb5c777f4 Mon Sep 17 00:00:00 2001 From: Hoan Nguyen Date: Wed, 30 Oct 2024 10:32:58 +0700 Subject: [PATCH] Added dependency job --- .github/workflows/docker-build.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/docker-build.yml b/.github/workflows/docker-build.yml index f1a5f0d2..56b80912 100644 --- a/.github/workflows/docker-build.yml +++ b/.github/workflows/docker-build.yml @@ -39,6 +39,7 @@ jobs: cleanup: name: Clean up docker container and images runs-on: self-hosted + needs: init steps: - name: Bring down and remove containers and images @@ -72,10 +73,10 @@ jobs: echo "Copy marketplace-service to ${{ env.BASE_WORKING_DIR }} directory" cp -r marketplace-service ${{ env.BASE_WORKING_DIR }}/marketplace-service - echo "Copy nginx config to config directory" + echo "Copy nginx configs to config directory" mkdir -p ${{ env.BASE_WORKING_DIR }}/config/nginx && cp -r marketplace-build/config/nginx/dev/* ${{ env.BASE_WORKING_DIR }}/config/nginx - echo "Copy compose config to publish directory" + echo "Copy compose configs to publish directory" mkdir -p ${{ env.BASE_WORKING_DIR }}/publish && cp -r marketplace-build/.env ${{ env.BASE_WORKING_DIR }}/publish/.env cp -r marketplace-build/docker-compose.yml ${{ env.BASE_WORKING_DIR }}/publish/docker-compose.yml