From 50c2874adf25659d838f8bf1c30cae7702d9c44f Mon Sep 17 00:00:00 2001 From: Up Date: Thu, 9 May 2024 11:31:52 +0200 Subject: [PATCH] only build docker image on main repo --- .github/workflows/ghcr.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/ghcr.yml b/.github/workflows/ghcr.yml index 780ea12..6b7eb3d 100644 --- a/.github/workflows/ghcr.yml +++ b/.github/workflows/ghcr.yml @@ -5,6 +5,8 @@ on: jobs: build: + name: Build and publish to GHCR + if: github.repository == 'pagefaultgames/rogueserver' env: GO_VERSION: 1.22 runs-on: ubuntu-latest