Skip to content
Snippets Groups Projects
Commit fab24e0b authored by Daniel Black's avatar Daniel Black
Browse files

operator test: contains rather than endsWith

parent 198bd2ef
No related branches found
No related tags found
No related merge requests found
...@@ -103,12 +103,12 @@ jobs: ...@@ -103,12 +103,12 @@ jobs:
if: ${{ env.DEPLOY_IMAGES == 'true' }} if: ${{ env.DEPLOY_IMAGES == 'true' }}
run: docker push ghcr.io/mariadb/mariadb:${{ matrix.name }} run: docker push ghcr.io/mariadb/mariadb:${{ matrix.name }}
- name: MariaDB Operator Test (non-UBI) - 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 }} run: gh workflow run test-image.yml --repo mariadb-operator/mariadb-operator -f mariadb_image=ghcr.io/mariadb/mariadb:${{ matrix.name }}
env: env:
GITHUB_TOKEN: "${{ secrets.MARIADB_OPERATOR_TOKEN }}" GITHUB_TOKEN: "${{ secrets.MARIADB_OPERATOR_TOKEN }}"
- name: MariaDB Operator Test (UBI) - 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 }} run: gh workflow run test-image-ent.yml --repo mariadb-operator/mariadb-operator -f mariadb_image=ghcr.io/mariadb/mariadb:${{ matrix.name }}
env: env:
GITHUB_TOKEN: "${{ secrets.MARIADB_OPERATOR_TOKEN }}" GITHUB_TOKEN: "${{ secrets.MARIADB_OPERATOR_TOKEN }}"
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment