\r\n\n\n### Steps to reproduce\n\n.\n\n### Expected behavior\n\n_No response_\n\n### System Info\n\n```shell\n\"next-d126cf9e35\"\n```\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/faq#which-version-of-woodpecker-should-i-use]",[3057,3058],{"name":3035,"color":3036},{"name":3059,"color":3060},"ui","46DEA2",4677,"`tag` pipelines are missing avatar and commit title","2025-01-12T06:19:42Z","https://github.com/woodpecker-ci/woodpecker/issues/4677",0.79598385,{"description":3067,"labels":3068,"number":3070,"owner":3024,"repository":3025,"state":3071,"title":3072,"updated_at":3073,"url":3074,"score":3075},"the first step of a pipeline is the close step, if not set by pipeline config it will be added by default.\r\n\r\nthis environment should have access to Netrc variables:\r\n https://github.com/woodpecker-ci/woodpecker/blob/3c5827f08a9b42851c118cf1ab1254f68d66f0dd/pipeline/frontend/yaml/compiler/option.go#L71-L87\r\n\r\nbut that's not the case!\r\n\r\nblock #473 (-> https://github.com/woodpecker-ci/plugin-git/issues/4)",[3069],{"name":3035,"color":3036},479,"closed","Netrc not passed to clone container","2022-06-04T14:10:22Z","https://github.com/woodpecker-ci/woodpecker/issues/479",0.7333758,{"description":3077,"labels":3078,"number":3080,"owner":3024,"repository":3025,"state":3071,"title":3081,"updated_at":3082,"url":3083,"score":3084},"### Component\n\nserver\n\n### Describe the bug\n\nGot this error :\n\n```\nwoodpecker-server | {\"level\":\"info\",\"time\":\"2025-02-13T09:36:51Z\",\"message\":\"log level: info\"}\nwoodpecker-server | {\"level\":\"error\",\"error\":\"can't setup store: could not migrate datastore: migration cron-without-sec failed: attempt to write a readonly database\",\"time\":\"2025-02-13T09:36:51Z\",\"message\":\"error running server\"}\n```\n\n### Steps to reproduce\n\nHave a 2.8.3 with docker compose up\nEdit docker compose to 3.0.0\nUp docker compose\nGot this error\n\n### Expected behavior\n\n_No response_\n\n### System Info\n\n```shell\nClient: Docker Engine - Community\n Version: 27.3.1\n\nDocker Compose version v2.32.4\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]",[3079],{"name":3035,"color":3036},4836,"Migration 2.8.3 to 3.0.0 failed - migration cron-without-sec failed","2025-02-13T14:04:04Z","https://github.com/woodpecker-ci/woodpecker/issues/4836",0.7469986,{"description":3086,"labels":3087,"number":3089,"owner":3024,"repository":3025,"state":3071,"title":3090,"updated_at":3091,"url":3092,"score":3093},"### Component\n\nserver\n\n### Describe the bug\n\nI am currently using `woodpeckerci/plugin-docker-buildx` to build my docker images.\nGiven the recent announcement by [Docker Hub](https://docs.docker.com/docker-hub/usage/) of limiting unauthenticated pulls per hour to 10, I decided to look for other registries.\n\nThe plugin is hosted at the `docker.io` registry aswell as the `codeberg.org` registry.\n\nI wanted to test the `codeberg.org` registry as the alternative and made the following changes in my config files:\n* Update the image tag in my workflows.\n* Updated the `WOODPECKER_PLUGINS_PRIVILEGED` variable to `codeberg.org/woodpecker-plugins/docker-buildx` to allow secrets to be used.\n\nAfter deploying and running the workflow I get the following error message:\n`secret \"docker_username\" is not allowed to be used with image \"codeberg.org/woodpecker-plugins/docker-buildx\" by step \"build-alpine\"`\n\n\n\n### Steps to reproduce\n\n-\n\n### Expected behavior\n\n_No response_\n\n### System Info\n\n```shell\nDocker compose config\n\n woodpecker:\n image: woodpeckerci/woodpecker-server:next\n container_name: dev_woodpecker\n restart: always\n networks:\n - web\n - db\n ports:\n - 8502:8000\n - 8504:9000\n environment:\n - WOODPECKER_OPEN=true\n - WOODPECKER_HOST=https://ci.example.com\n - WOODPECKER_GITEA=true\n - WOODPECKER_GITEA_URL=https://git.example.com\n - WOODPECKER_GITEA_CLIENT=\u003Csecret>\n - WOODPECKER_GITEA_SECRET=\u003Csecret>\n - WOODPECKER_ADMIN=dionysussg\n - WOODPECKER_AUTHENTICATE_PUBLIC_REPOS=true\n - WOODPECKER_PLUGINS_PRIVILEGED=codeberg.org/woodpecker-plugins/docker-buildx\n - WOODPECKER_DATABASE_DRIVER=mysql\n - WOODPECKER_DATABASE_DATASOURCE=\u003Csecret>\n - WOODPECKER_LOG_LEVEL=debug\n\nWoodpecker version: `next-c7e6e89a37`\n\nWorkflow\n\nvariables:\n - &buildx_plugin 'codeberg.org/woodpecker-plugins/docker-buildx'\n - base_settings: &base_buildx_settings\n platforms: 'linux/amd64,linux/arm64/v8'\n registry: https://registry.example.com\n tags: latest\n username:\n from_secret: docker_username\n password:\n from_secret: docker_password\n\nsteps:\n build-alpine:\n image: *buildx_plugin\n settings:\n \u003C\u003C: *base_buildx_settings\n repo: registry.example.com/diony/base\n context: alpine/\n dockerfile: alpine/Dockerfile\n\n build-go:\n image: *buildx_plugin\n settings:\n \u003C\u003C: *base_buildx_settings\n repo: registry.example.com/diony/base-go\n context: go/\n dockerfile: go/Dockerfile\n```\n\n### Additional context\n\n```\n{\"level\":\"debug\",\"time\":\"2025-03-05T11:51:09Z\",\"caller\":\"/woodpecker/src/github.com/woodpecker-ci/woodpecker/server/router/middleware/session/repo.go:157\",\"message\":\"dionysussg granted &{UserID:1 RepoID:1 Repo:\u003Cnil> Pull:true Push:true Admin:true Synced:1741174393 Created:1682675028 Updated:1741174393} permission to docker-images/base\"}\n{\"level\":\"debug\",\"pipeline\":\"build-base\",\"time\":\"2025-03-05T11:51:10Z\",\"caller\":\"/woodpecker/src/github.com/woodpecker-ci/woodpecker/server/pipeline/stepbuilder/stepBuilder.go:164\",\"message\":\"marked as skipped, does not match metadata\"}\n{\"level\":\"debug\",\"repo\":\"docker-images/base\",\"error\":\"secret \\\"docker_username\\\" is not allowed to be used with image \\\"codeberg.org/woodpecker-plugins/docker-buildx\\\" by step \\\"build-alpine\\\"\",\"time\":\"2025-03-05T11:51:10Z\",\"caller\":\"/woodpecker/src/github.com/woodpecker-ci/woodpecker/server/pipeline/create.go:96\",\"message\":\"failed to parse yaml\"}\n{\"level\":\"debug\",\"ip\":\"\",\"latency\":568.310349,\"method\":\"POST\",\"path\":\"/api/repos/1/pipelines\",\"status\":200,\"time\":\"2025-03-05T11:51:10Z\",\"user-agent\":\"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/133.0.0.0 Safari/537.36\",\"time\":\"2025-03-05T11:51:10Z\",\"caller\":\"/woodpecker/src/github.com/woodpecker-ci/woodpecker/server/router/middleware/logger.go:59\"}\n{\"level\":\"debug\",\"time\":\"2025-03-05T11:51:10Z\",\"caller\":\"/woodpecker/src/github.com/woodpecker-ci/woodpecker/server/router/middleware/session/repo.go:157\",\"message\":\"dionysussg granted &{UserID:1 RepoID:1 Repo:\u003Cnil> Pull:true Push:true Admin:true Synced:1741174393 Created:1682675028 Updated:1741174393} permission to docker-images/base\"}\n{\"level\":\"debug\",\"ip\":\"\",\"latency\":4.597059,\"method\":\"GET\",\"path\":\"/api/repos/1/pipelines/214\",\"status\":200,\"time\":\"2025-03-05T11:51:10Z\",\"user-agent\":\"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/133.0.0.0 Safari/537.36\",\"time\":\"2025-03-05T11:51:10Z\",\"caller\":\"/woodpecker/src/github.com/woodpecker-ci/woodpecker/server/router/middleware/logger.go:59\"}\n{\"level\":\"debug\",\"time\":\"2025-03-05T11:51:10Z\",\"caller\":\"/woodpecker/src/github.com/woodpecker-ci/woodpecker/server/router/middleware/session/repo.go:157\",\"message\":\"dionysussg granted &{UserID:1 RepoID:1 Repo:\u003Cnil> Pull:true Push:true Admin:true Synced:1741174393 Created:1682675028 Updated:1741174393} permission to docker-images/base\"}\n```\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]",[3088],{"name":3035,"color":3036},4932,"Secret is not allowed with image `codeberg.org/woodpecker-plugins/docker-buildx`","2025-03-05T12:38:25Z","https://github.com/woodpecker-ci/woodpecker/issues/4932",0.7558751,{"description":3095,"labels":3096,"number":3098,"owner":3024,"repository":3025,"state":3071,"title":3099,"updated_at":3100,"url":3101,"score":3102},"### Component\r\n\r\nserver, agent\r\n\r\n### Describe the bug\r\n\r\nAfter renaming on matrix variable and forgetting to change on the `image` property,\r\nI noticed that woodpecker will fail (of cause), but with no meaningful error and without showing the error.\r\n\r\nThe webui only shows \"Unknown error\" and show `exit code 0` within that step (also the step is marked as \"succeeded\").\r\n\r\n\r\n\r\n\r\n### System Info\r\n\r\n```shell\r\n{\"source\":\"https://github.com/woodpecker-ci/woodpecker\",\"version\":\"next-c2b0c1d7\"}\r\n```\r\n\r\n\r\n### Additional context\r\nLog from server:\r\n```shell\r\n{\"level\":\"warn\",\"error\":\"sql: no rows in result set\",\"time\":\"2021-12-14T14:34:17Z\"}\r\n{\"level\":\"warn\",\"error\":\"sql: no rows in result set\",\"time\":\"2021-12-14T14:46:27Z\"}\r\n{\"level\":\"error\",\"time\":\"2021-12-14T14:47:52Z\",\"message\":\"failure to parse yaml from hook for Flaschengeist/flaschengeist-frontend. yaml: line 5: found character that cannot start any token\"}\r\n{\"level\":\"error\",\"error\":\"Error #01: yaml: line 5: found character that cannot start any token\\n\",\"ip\":\"172.22.0.1\",\"latency\":554.057332,\"method\":\"POST\",\"path\":\"/hook\",\"status\":200,\"time\":\"2021-12-14T14:47:52Z\",\"user-agent\":\"Go-http-client/1.1\",\"time\":\"2021-12-14T14:47:52Z\"}\r\n{\"level\":\"warn\",\"error\":\"sql: no rows in result set\",\"time\":\"2021-12-14T14:57:07Z\"}\r\n```\r\nLog from agent: [error.log](https://github.com/woodpecker-ci/woodpecker/files/7758788/error.log)\r\n\r\n### Validations\r\n\r\n- [X] Read the [Contributing Guidelines](https://github.com/woodpecker-ci/woodpecker/blob/master/CONTRIBUTING.md).\r\n- [X] Read the [docs](https://woodpecker-ci.org/docs/intro).\r\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.\r\n- [X] Check that this is a concrete bug. For Q&A join our [Discord Chat Server](https://discord.gg/fcMQqSMXJy).",[3097],{"name":3021,"color":3022},637,"Unknown error and invalid state when pipeline contains invalid matrix tags","2024-02-11T23:24:04Z","https://github.com/woodpecker-ci/woodpecker/issues/637",0.76937604,{"description":3104,"labels":3105,"number":3107,"owner":3024,"repository":3025,"state":3071,"title":3108,"updated_at":3109,"url":3110,"score":3111},"### Component\n\nweb-ui\n\n### Describe the bug\n\nOn the web ui when you first try to add a secret using the form, It doesn't fill out `events` field in the POST request and gives an 422 (Unprocessable Content). After deselecting and selecting any of the previously selected events (for example just push). It fills out `events` field in the POST request and it succeeds. \r\n\r\n422 response is coming from endpoint `api/repos/:id/secrets`. \r\nRequest payload in the first try: `{\"name\":\"test\",\"value\":\"test\",\"image\":[],\"event\":[\"push\"]}`\r\nRequest payload after deselecting and selecting `tag` event again: `{\"name\":\"test\",\"value\":\"test\",\"image\":[],\"event\":[\"push\"],\"events\":[\"tag\"]}`\r\n\r\nas another note, even though I haven't selected the `push` event, it always sends the field `event` with value of `push`.\n\n### System Info\n\n```shell\n{\"source\":\"https://github.com/woodpecker-ci/woodpecker\",\"version\":\"next-aeb7bcb26a\"}\n```\n\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/main/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 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/faq#which-version-of-woodpecker-should-i-use]\n- [X] Check that this is a concrete bug. For Q&A join our [Discord Chat Server](https://discord.gg/fcMQqSMXJy) or the [Matrix room](https://matrix.to/#/#woodpecker:matrix.org).",[3106],{"name":3035,"color":3036},2896,"Web UI doesn't send correct request to add secrets to the repository","2023-12-01T15:11:59Z","https://github.com/woodpecker-ci/woodpecker/issues/2896",0.76957357,{"description":3113,"labels":3114,"number":3115,"owner":3024,"repository":3025,"state":3071,"title":3116,"updated_at":3117,"url":3118,"score":3119},"It would be nice if Woodpecker would be able to easily deploy my project like systems like Vercel, Heroku ... do it.\r\n\r\n(Treat this as a general possible outlook into automatic CD with Woodpecker)\r\n\r\n# What I expect in an ideal scenario:\r\n- I can enable a repo (maybe check an auto-mode option)\r\n- It will automatically detect the language, framework etc and build the software\r\n- As Woodpecker is not a hosting platform like Vercel / Heroku on its own, it should use some hosting provider like Hetzner, fly.io, ... and deploy the build artifact directly to it\r\n- It should create one production deployment for my main branch and review deployments for my PRs\r\n\r\n# How this could work:\r\n- Using a plugin which uses [buildpacks](https://buildpacks.io/) to build a repo\r\n- Using a plugin to deploy to a hosting provider\r\n- Maybe some way to auto-generate a wp-config similar to how buildpacks work (liking #1400 and #783 for dynamic config generation)",[],2075,"Automatically deploy repo similar to Vercel / Heroku","2023-08-08T08:05:38Z","https://github.com/woodpecker-ci/woodpecker/issues/2075",0.77378196,["Reactive",3121],{},["Set"],["ShallowReactive",3124],{"$fTRc1wZytZ_XrK4EfJfei_Sz-An4H4Yy6syhVxH_PVJc":-1,"$fclNJR1unxFDdmT_WiJXHMV0D9H--bq-CZCuBuTBBThM":-1},"/woodpecker-ci/woodpecker/929"]