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 @@ | ||
| 31 | 31 | jobs: |
| 32 | 32 | image: |
| 33 | 33 | 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' | |
| 34 | 36 | runs-on: ubuntu-22.04 |
| 35 | 37 | timeout-minutes: 120 |
| 36 | 38 | permissions: |