diff --git a/.github/workflows/build_and_push.yaml b/.github/workflows/build_and_push.yaml index 5ec8472..b6ce7d1 100644 --- a/.github/workflows/build_and_push.yaml +++ b/.github/workflows/build_and_push.yaml @@ -92,14 +92,10 @@ jobs: run: | sed 's/${BRANCH}/'${{ github.ref_name }}'/g' Dockerfile_db > $GITHUB_WORKSPACE/Dockerfile_temp_db - - name: Use temporary Dockerfile in next step - run: | - cat Dockerfile_temp_db # Example of how to use the file - - name: Build and push uses: docker/build-push-action@v2 with: - file: $GITHUB_WORKSPACE/Dockerfile_temp_db + file: Dockerfile_temp_db push: true tags: ${{ steps.meta.outputs.tags }} labels: ${{ steps.meta.outputs.labels }} @@ -150,7 +146,7 @@ jobs: - name: Build and push uses: docker/build-push-action@v2 with: - file: $GITHUB_WORKSPACE/Dockerfile_temp_verifier + file: Dockerfile_temp_verifier push: true tags: ${{ steps.meta.outputs.tags }} labels: ${{ steps.meta.outputs.labels }} @@ -201,7 +197,7 @@ jobs: - name: Build and push uses: docker/build-push-action@v2 with: - file: $GITHUB_WORKSPACE/Dockerfile_temp_mailer + file: Dockerfile_temp_mailer push: true tags: ${{ steps.meta.outputs.tags }} labels: ${{ steps.meta.outputs.labels }}