From 3a3d1b59c59c1f347a55f5b99dbab0704ff2ff50 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marek=20Noco=C5=84?= Date: Fri, 8 Dec 2023 16:52:16 +0100 Subject: [PATCH] Use built imag --- .github/workflows/gha-docker-solr.yaml | 36 +++++++++++++------------- 1 file changed, 18 insertions(+), 18 deletions(-) diff --git a/.github/workflows/gha-docker-solr.yaml b/.github/workflows/gha-docker-solr.yaml index e13f65adc2..2cd7149167 100644 --- a/.github/workflows/gha-docker-solr.yaml +++ b/.github/workflows/gha-docker-solr.yaml @@ -27,20 +27,29 @@ jobs: - 6379:6379 options: --memory=60m - solr: - image: ghcr.io/ibexa/core/solr - ports: - - 8983:8983 - options: >- - --health-cmd "solr status" - --health-interval 10s - --health-timeout 5s - --health-retries 10 + # solr: + # image: ghcr.io/ibexa/core/solr + # ports: + # - 8983:8983 + # options: >- + # --health-cmd "solr status" + # --health-interval 10s + # --health-timeout 5s + # --health-retries 10 steps: - uses: actions/checkout@v2 with: fetch-depth: 0 + - name: Build Solr image + run: docker build -t "$IMAGE_NAME:latest" docker/solr + + - name: Start Solr image + run: | + docker run --health-cmd "solr status" \ + --health-interval 10s --health-timeout 5s --health-retries 10 \ + -d -p 8983:8983 "$IMAGE_NAME:latest" + - name: Setup PHP Action uses: shivammathur/setup-php@v2 with: @@ -64,15 +73,6 @@ jobs: CACHE_HOST: 127.0.0.1 CORES_SETUP: single - # - name: Build Solr image - # run: docker build -t "$IMAGE_NAME:latest" docker/solr - - # - name: Start Solr image - # run: | - # docker run --health-cmd "solr status" \ - # --health-interval 10s --health-timeout 5s --health-retries 10 \ - # -d -p 8983:8983 "$IMAGE_NAME:latest" - - name: Log in to the Container registry uses: docker/login-action@65b78e6e13532edd9afa3aa52ac7964289d1a9c1 with: