Skip to content

Commit

Permalink
operator test: contains rather than endsWith
Browse files Browse the repository at this point in the history
  • Loading branch information
grooverdan committed Aug 9, 2024
1 parent 198bd2e commit fab24e0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -103,12 +103,12 @@ jobs:
if: ${{ env.DEPLOY_IMAGES == 'true' }}
run: docker push ghcr.io/mariadb/mariadb:${{ matrix.name }}
- name: MariaDB Operator Test (non-UBI)
if: ${{ env.DEPLOY_IMAGES == 'true' && !endsWith( matrix.name, 'ubi') }}
if: ${{ env.DEPLOY_IMAGES == 'true' && !contains( matrix.name, 'ubi') }}
run: gh workflow run test-image.yml --repo mariadb-operator/mariadb-operator -f mariadb_image=ghcr.io/mariadb/mariadb:${{ matrix.name }}
env:
GITHUB_TOKEN: "${{ secrets.MARIADB_OPERATOR_TOKEN }}"
- name: MariaDB Operator Test (UBI)
if: ${{ env.DEPLOY_IMAGES == 'true' && endsWith( matrix.name, 'ubi') }}
if: ${{ env.DEPLOY_IMAGES == 'true' && contains( matrix.name, 'ubi') }}
run: gh workflow run test-image-ent.yml --repo mariadb-operator/mariadb-operator -f mariadb_image=ghcr.io/mariadb/mariadb:${{ matrix.name }}
env:
GITHUB_TOKEN: "${{ secrets.MARIADB_OPERATOR_TOKEN }}"

0 comments on commit fab24e0

Please sign in to comment.