diff --git a/.github/workflows/actions/checkout-prestashop/action.yml b/.github/workflows/actions/checkout-prestashop/action.yml index 6d84f940..6b2351ca 100644 --- a/.github/workflows/actions/checkout-prestashop/action.yml +++ b/.github/workflows/actions/checkout-prestashop/action.yml @@ -81,3 +81,11 @@ runs: run: | echo PS_FF_SYMFONY_LAYOUT=true >> .env shell: bash + + # In old versions the docker configuration is not adapted to our test workflow so it is forcefully overridden + - name: Override Docker configuration + if: startsWith(inputs.repository_ref, '1.7') + run: | + cp -R ./custom_actions/docker-reference/.docker ${{ inputs.ps_dir }} + cp ./custom_actions/docker-reference/docker-compose.yml ${{ inputs.ps_dir }} + shell: bash diff --git a/.github/workflows/build-shop.yml b/.github/workflows/build-shop.yml index 01896ea0..8cf2a776 100644 --- a/.github/workflows/build-shop.yml +++ b/.github/workflows/build-shop.yml @@ -91,12 +91,6 @@ jobs: rebase_or_merge: ${{ inputs.rebase_or_merge }} backoffice_layout: ${{ inputs.backoffice_layout }} - - name: Override Docker configuration - if: startsWith(inputs.repository_ref, '1.7') - run: | - cp -R ./custom_actions/docker-reference/.docker ${{ env.PS_DIR }} - cp ./custom_actions/docker-reference/docker-compose.yml ${{ env.PS_DIR }} - # Pre pull/build images (when build background enabled) - name: Pull images in background working-directory: ${{ env.PS_DIR }}