From 45c2217c36b694d1eedaee3644e0a290251036e1 Mon Sep 17 00:00:00 2001 From: Eric Date: Tue, 23 Jul 2024 16:27:16 +0800 Subject: [PATCH] perf: only build base image on pr branch --- .github/workflows/build-base-image.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/build-base-image.yml b/.github/workflows/build-base-image.yml index 1f7b216..51e7b15 100644 --- a/.github/workflows/build-base-image.yml +++ b/.github/workflows/build-base-image.yml @@ -2,6 +2,8 @@ name: Build and Push Base Image on: push: + branches: + - 'pr*' paths: - 'go.mod' - 'Dockerfile-base'