Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Filter for WordPress CLI run command #4

Open
plittlefield opened this issue Apr 15, 2021 · 0 comments
Open

Filter for WordPress CLI run command #4

plittlefield opened this issue Apr 15, 2021 · 0 comments

Comments

@plittlefield
Copy link

Great tool, thank you so much.

I would like to filter out any notifications for the wordpress:cli image run commands.

e.g.

docker-compose run --rm www.domain.uk-wordpress-cli wp theme search donovan

Notifier, [15.04.21 12:37]
Started wwwdomainuk_www.domain.uk-wordpress-cli_run_7021e4f91fca (wordpress:cli) {ff8eb90aa307}

Notifier, [15.04.21 12:38]
Stopped wwwdomainuk_www.domain.uk-wordpress-cli_run_7021e4f91fca (wordpress:cli) {ff8eb90aa307}
Exit Code: 0

I have tried your regex for not showing notifications when I run the wordpress:cli image but I must be doing something wrong because they keep showing.

    environment:
      - TELEGRAM_NOTIFIER_BOT_TOKEN=xxxx:xxxxx
      - TELEGRAM_NOTIFIER_CHAT_ID=xxxxxxx
      - image_regexp='^(?!-cli:)'

Is this possible?

Thanks,

Paully

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant