Skip to content

Commit

Permalink
fix(ci.yml): only build containers on version tag
Browse files Browse the repository at this point in the history
  • Loading branch information
aauren committed Nov 25, 2023
1 parent c1ebbfa commit 163293b
Showing 1 changed file with 1 addition and 8 deletions.
9 changes: 1 addition & 8 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,14 +48,7 @@ jobs:
# Builds Container only if a tag or a pull request from a source branch within the repository
ci-build-container:
runs-on: ubuntu-latest
if: >-
${{
github.event_name != 'pull_request' ||
(
github.event.pull_request.head.repo.full_name == github.repository &&
github.actor != 'dependabot[bot]' &&
startsWith(github.ref, 'refs/tags/v'))
}}
if: ${{ startsWith(github.ref, 'refs/tags/v') }}
steps:
- name: Checkout
uses: actions/checkout@v4
Expand Down

0 comments on commit 163293b

Please sign in to comment.