Skip to content

Commit

Permalink
test ci
Browse files Browse the repository at this point in the history
Signed-off-by: Kevin Su <pingsutw@apache.org>
  • Loading branch information
pingsutw committed Apr 21, 2023
1 parent bf346e5 commit 4a883cf
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -257,7 +257,7 @@ jobs:

bump_version:
needs: changes
if: ${{ needs.changes.outputs.packages != '[]' && github.event_name != 'pull_request' }}
if: ${{ needs.changes.outputs.packages != '[]' }} && ${{ github.event_name != 'pull_request' }}
runs-on: ubuntu-latest
outputs:
version: ${{ steps.bump_version.outputs.tag }}
Expand Down Expand Up @@ -307,7 +307,7 @@ jobs:

bump_component_version:
needs: [ changes, bump_version, goreleaser ]
if: ${{ needs.changes.outputs.packages != '[]' && github.event_name != 'pull_request' }}
if: ${{ needs.changes.outputs.packages != '[]' }} && ${{ github.event_name != 'pull_request' }}
runs-on: ubuntu-latest
strategy:
fail-fast: false
Expand Down Expand Up @@ -362,8 +362,8 @@ jobs:
- name: Build and Push Image
uses: docker/build-push-action@v3
with:
context: .
file: ${{ matrix.package }}
context: ../
file: Dockerfile
platforms: linux/arm64,linux/amd64
push: true
tags: ${{ steps.tags.outputs.tags }}
Expand Down

0 comments on commit 4a883cf

Please sign in to comment.