Diffinery

homeflare/celldpublic

ci(homeflare): build the GHCR image on GitHub only, not on mirrors

Jason Schwarzenberger authored 1 parent 46ee9a6commit ee3f48e1f928f6b995fde6901b007f478158b709Browse files
1 file changed+2−0
modified.github/workflows/homeflare-image.yml+2−0View file
@@ -31,6 +31,8 @@
3131 jobs:
3232 image:
3333 name: Build and push
34+ # GHCR takes GitHub's token only: a mirror (git.1j.nz) has its own forge's.
35+ if: github.server_url == 'https://github.com'
3436 runs-on: ubuntu-22.04
3537 timeout-minutes: 120
3638 permissions: