Skip to content

Commit fab24e0

Browse files
committed
operator test: contains rather than endsWith
1 parent 198bd2e commit fab24e0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/ci.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -103,12 +103,12 @@ jobs:
103103
if: ${{ env.DEPLOY_IMAGES == 'true' }}
104104
run: docker push ghcr.io/mariadb/mariadb:${{ matrix.name }}
105105
- name: MariaDB Operator Test (non-UBI)
106-
if: ${{ env.DEPLOY_IMAGES == 'true' && !endsWith( matrix.name, 'ubi') }}
106+
if: ${{ env.DEPLOY_IMAGES == 'true' && !contains( matrix.name, 'ubi') }}
107107
run: gh workflow run test-image.yml --repo mariadb-operator/mariadb-operator -f mariadb_image=ghcr.io/mariadb/mariadb:${{ matrix.name }}
108108
env:
109109
GITHUB_TOKEN: "${{ secrets.MARIADB_OPERATOR_TOKEN }}"
110110
- name: MariaDB Operator Test (UBI)
111-
if: ${{ env.DEPLOY_IMAGES == 'true' && endsWith( matrix.name, 'ubi') }}
111+
if: ${{ env.DEPLOY_IMAGES == 'true' && contains( matrix.name, 'ubi') }}
112112
run: gh workflow run test-image-ent.yml --repo mariadb-operator/mariadb-operator -f mariadb_image=ghcr.io/mariadb/mariadb:${{ matrix.name }}
113113
env:
114114
GITHUB_TOKEN: "${{ secrets.MARIADB_OPERATOR_TOKEN }}"

0 commit comments

Comments
 (0)