\n\n### Expected behavior\n\n```\ndocker run --rm --privileged \\\n -v $(pwd):/woodpecker \\\n -e PLUGIN_REPO=demo/myap \\\n -e PLUGIN_TAGS=latest \\\n -e PLUGIN_PLATFORMS=linux/amd64 \\\n -e PLUGIN_DOCKERFILE=Dockerfile \\\n -e PLUGIN_DRIVER=docker \\\n -e PLUGIN_BUILDKIT_DRIVEROPT=\"image=moby/buildkit:master\" \\\n -w /woodpecker \\\n woodpeckerci/plugin-docker-buildx:5.2.2-insecure\n```\n\n\u003Cimg width=\"2083\" height=\"456\" alt=\"Image\" src=\"https://github.com/user-attachments/assets/763aa4cd-edc1-4e07-b043-44b5d153d962\" />\n\n### System Info\n\n```shell\ndocker desktop v4.43.1\n```\n\n### Additional context\n\n_No response_\n\n### Validations\n\n- [x] Read the [docs](https://woodpecker-ci.org/docs/intro).\n- [x] Check that there isn't [already an issue](https://github.com/woodpecker-ci/woodpecker/issues) that reports the same bug to avoid creating a duplicate.\n- [x] Checked that the bug isn't fixed in the `next` version already [https://woodpecker-ci.org/versions]",[3236],{"name":3179,"color":3180},5321,"plugin-docker-buildx insecure with PLUGIN_BUILDKIT_DRIVEROPT image not work after version 6","2025-07-22T14:24:24Z","https://github.com/woodpecker-ci/woodpecker/issues/5321",0.70042646,{"description":3243,"labels":3244,"number":3246,"owner":3158,"repository":3159,"state":3193,"title":3247,"updated_at":3248,"url":3249,"score":3250},"### Clear and concise description of the problem\n\nI'm used (from `GitLab CI`) to be able to provide some some references in filters; for instance:\r\n\r\n```yaml\r\ndefault:\r\n image: docker.io/docker/compose:alpine-1.29.2\r\n\r\nstages:\r\n - verify\r\n\r\nvalidate:\r\n stage: verify\r\n rules:\r\n - if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH\r\n - if: $CI_MERGE_REQUEST_ID\r\n script:\r\n - docker-compose config --quiet\r\n```\r\n\r\nWhile the filters in `Woodpecker CI` are slightly different, they achieve (almost) the same results, so it would be great to be able to use environment variables in these as well.\r\n\r\n```yaml\r\npipeline:\r\n validate:\r\n commands:\r\n - docker-compose config --quiet\r\n group: verify\r\n image: docker.io/docker/compose:alpine-1.29.2\r\n when:\r\n branch: ${CI_REPO_DEFAULT_BRANCH}\r\n```\r\n\n\n### Suggested solution\n\nJust to be able to refer to environment variables in filters — expanded by default :wink:\n\n### Alternative\n\nN/A\n\n### Additional context\n\n_No response_\n\n### Validations\n\n- [X] Read the [Contributing Guidelines](https://github.com/woodpecker-ci/woodpecker/blob/master/CONTRIBUTING.md).\n- [X] Read the [docs](https://woodpecker-ci.org/docs/intro).\n- [X] Check that there isn't already an [issue](https://github.com/woodpecker-ci/woodpecker/issues) that request the same feature to avoid creating a duplicate.",[3245],{"name":3155,"color":3156},963,"Allow the usage of environment variables in filters","2022-10-05T23:49:26Z","https://github.com/woodpecker-ci/woodpecker/issues/963",0.7089017,["Reactive",3252],{},["Set"],["ShallowReactive",3255],{"$fTRc1wZytZ_XrK4EfJfei_Sz-An4H4Yy6syhVxH_PVJc":-1,"$fXO53UWadTCXTDDXhbm9MsgacVj58JfQasNbpsKKU1fM":-1},"/woodpecker-ci/woodpecker/4430"]