Skip to content

Commit

Permalink
check for repo
Browse files Browse the repository at this point in the history
  • Loading branch information
TanyaStere42 committed Jan 26, 2024
1 parent 692c263 commit ed9a45a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/docker-publish.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ jobs:
# Push container image to GitHub Packages and Docker Hub.
# See also https://docs.docker.com/docker-hub/builds/
deploy:
if: github.ref == 'refs/remotes/origin/main'
if: github.event.pull_request.head.repo.full_name == github.repository
name: Docker image build
runs-on: ubuntu-latest

Expand Down

0 comments on commit ed9a45a

Please sign in to comment.