Skip to content

Commit

Permalink
Merge remote-tracking branch 'harbor-cli/main' into validation-domain
Browse files Browse the repository at this point in the history
  • Loading branch information
Standing-Man committed Dec 10, 2024
2 parents 250d6f8 + e0e8a05 commit 37accbf
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/default.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ jobs:
args: build-dev --platform linux/amd64 export --path=./harbor-dev

push-latest-images:
if: github.event.pull_request == null && !startsWith(github.ref, 'refs/tags/v')
if: github.event_name == 'push' && (github.ref == 'refs/heads/main' || startsWith(github.ref, 'refs/tags/'))
needs:
- lint
- test-code
Expand All @@ -84,7 +84,7 @@ jobs:


publish-release:
if: startsWith(github.ref, 'refs/tags/v')
if: github.event_name == 'push' && (github.ref == 'refs/heads/main' || startsWith(github.ref, 'refs/tags/'))
needs:
- lint
- test-code
Expand Down

0 comments on commit 37accbf

Please sign in to comment.