only build docker image on main repo

This commit is contained in:
Up 2024-05-09 11:31:52 +02:00
parent 60212146e3
commit 50c2874adf
No known key found for this signature in database
GPG Key ID: 3B75CD7439FEB388

View File

@ -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