From 6a99d38348b25fa3a8cc6e1fac44e4348daa1221 Mon Sep 17 00:00:00 2001 From: Peter Johnson Date: Thu, 30 Nov 2023 14:11:56 +0100 Subject: [PATCH] actions: disable image-builder workflow --- .../workflows/elasticsearch-image-builder.yml | 49 ++++++++++--------- 1 file changed, 25 insertions(+), 24 deletions(-) diff --git a/.github/workflows/elasticsearch-image-builder.yml b/.github/workflows/elasticsearch-image-builder.yml index 27fb4f50..a4cb1efe 100644 --- a/.github/workflows/elasticsearch-image-builder.yml +++ b/.github/workflows/elasticsearch-image-builder.yml @@ -1,24 +1,25 @@ -name: Build Docker Images -on: - push: - paths: - - "images/elasticsearch/**" - - ".github/workflows/**" -jobs: - build: - runs-on: ubuntu-20.04 - strategy: - matrix: - elastic-version: - - "7.17.15" - env: - DOCKER_USERNAME: ${{ secrets.DOCKER_USERNAME }} - DOCKER_PASSWORD: ${{ secrets.DOCKER_PASSWORD }} - steps: - - uses: actions/checkout@v2 - with: - fetch-depth: 100 - - name: "Build elasticsearch@${{ matrix.elastic-version }}" - run: | - cd images/elasticsearch/${{ matrix.elastic-version }} - curl "https://raw.githubusercontent.com/pelias/ci-tools/master/build-docker-images.sh" | bash - +# name: Build Docker Images +# on: +# push: +# paths: +# - "images/elasticsearch/**" +# - ".github/workflows/**" +# jobs: +# build: +# if: github.ref == 'refs/heads/master' && needs.unit-tests.result == 'success' +# runs-on: ubuntu-20.04 +# strategy: +# matrix: +# elastic-version: +# - "7.17.15" +# env: +# DOCKER_USERNAME: ${{ secrets.DOCKER_USERNAME }} +# DOCKER_PASSWORD: ${{ secrets.DOCKER_PASSWORD }} +# steps: +# - uses: actions/checkout@v2 +# with: +# fetch-depth: 100 +# - name: "Build elasticsearch@${{ matrix.elastic-version }}" +# run: | +# cd images/elasticsearch/${{ matrix.elastic-version }} +# curl "https://raw.githubusercontent.com/pelias/ci-tools/master/build-docker-images.sh" | bash -