diff --git a/.github/workflows/Build-Deploy-auto.yml b/.github/workflows/Build-Deploy-auto.yml index 4e6643136c..73766ff311 100644 --- a/.github/workflows/Build-Deploy-auto.yml +++ b/.github/workflows/Build-Deploy-auto.yml @@ -60,13 +60,15 @@ jobs: TAG_LATEST: ${{ steps.tag_vars.outputs.tag_latest }} REGISTRY_PATH: ${{ steps.registry_path.outputs.registry_path }} working-directory: ./dev + # use docker-compose build for 1.29.2 + # docker compose build for 2.15.0 (with buildkit enabled by default) run: | - docker-compose version + docker compose version sed -i "s|registry=|registry=${REGISTRY_PATH}|g" .env sed -i "s/latest/${TAG}/g" .env - docker-compose build + docker compose build sed -i "s/${TAG}/${TAG_LATEST}/g" .env - docker-compose build + docker compose build docker images - name: Log in to the Container registry