1
0
mirror of https://github.com/bgp/bgpq4.git synced 2024-05-11 05:55:05 +00:00

Don't try to login and push to GHCR on forks (#112)

This commit is contained in:
Robert Scheck
2024-05-03 23:55:16 +02:00
committed by GitHub
parent 0a83c7598d
commit 2ec0ea3fbd

View File

@ -48,6 +48,7 @@ jobs:
type=sha
- name: Login to GitHub Container Registry
if: github.repository_owner == 'bgp'
uses: docker/login-action@v3
with:
registry: ghcr.io
@ -60,5 +61,5 @@ jobs:
file: .github/images/alpine:3.Dockerfile
context: .
platforms: linux/amd64,linux/arm64
push: true
push: ${{ github.repository_owner == 'bgp' }}
tags: ${{ steps.meta.outputs.tags }}