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.
This commit is contained in:
Sebastián A 2023-03-17 13:36:28 -03:00 committed by GitHub
parent 2af23d3043
commit c6a0f83b12
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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 }}
file: ${{ matrix.config.dockerfile }}