From c6a0f83b12f91c73dd39a138a739297d267d6372 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebasti=C3=A1n=20A?= Date: Fri, 17 Mar 2023 13:36:28 -0300 Subject: [PATCH] Docker image shouldn't be published on PRs This action would run for every PR action which means it'll create a docker image every time the CI runs on contributions. --- .github/workflows/docker.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/workflows/docker.yml b/.github/workflows/docker.yml index bc9aff7b7..976185dee 100644 --- a/.github/workflows/docker.yml +++ b/.github/workflows/docker.yml @@ -10,7 +10,6 @@ name: Publish Docker image on: - pull_request: push: branches: - master @@ -58,4 +57,4 @@ jobs: context: . push: ${{ github.event_name == 'push' }} tags: "ghcr.io/ggerganov/llama.cpp:${{ matrix.config.tag }}" - file: ${{ matrix.config.dockerfile }} \ No newline at end of file + file: ${{ matrix.config.dockerfile }}