From 2ac9593547cb15cd704eae814eb44b253f7a304e Mon Sep 17 00:00:00 2001 From: Arthur de Moulins Date: Wed, 22 Nov 2023 22:41:03 +0100 Subject: [PATCH] WIP --- .github/workflows/build.yaml | 2 +- .github/workflows/build_api.yaml | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index 0904d83b1..983178bc7 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -45,7 +45,7 @@ jobs: - name: Build and Push uses: docker/build-push-action@v4 with: - context: ${{ inputs.withLibs && "./" || inputs.context }} + context: ${{ inputs.withLibs && './' || inputs.context }} file: ${{ inputs.context }}/Dockerfile target: ${{ inputs.target }} push: true diff --git a/.github/workflows/build_api.yaml b/.github/workflows/build_api.yaml index 9004fbaf4..39bd37cd6 100644 --- a/.github/workflows/build_api.yaml +++ b/.github/workflows/build_api.yaml @@ -41,7 +41,7 @@ jobs: - name: Build and Push API PHP uses: docker/build-push-action@v4 with: - context: ${{ inputs.withLibs && "./" || inputs.context }} + context: ${{ inputs.withLibs && './' || inputs.context }} file: ${{ inputs.context }}/Dockerfile target: api-php push: true @@ -57,7 +57,7 @@ jobs: - name: Build and Push API NGINX uses: docker/build-push-action@v4 with: - context: ${{ inputs.withLibs && "./" || inputs.context }} + context: ${{ inputs.withLibs && './' || inputs.context }} file: ${{ inputs.context }}/Dockerfile target: api-nginx push: true @@ -72,7 +72,7 @@ jobs: - name: Build and Push Worker uses: docker/build-push-action@v4 with: - context: ${{ inputs.withLibs && "./" || inputs.context }} + context: ${{ inputs.withLibs && './' || inputs.context }} file: ${{ inputs.context }}/Dockerfile target: worker push: true