\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]",[2001,2004],{"name":2002,"color":2003},"bug","d73a4a",{"name":2005,"color":2006},"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.7621879,{"description":2013,"labels":2014,"number":2019,"owner":1991,"repository":1992,"state":1993,"title":2020,"updated_at":2021,"url":2022,"score":2023},"### Component\n\nagent\n\n### Describe the bug\n\nDue to the nature of the GKE Autopilot cluster and my budget limit I have to configure the storage as RWO. The problem is that several pods can potentially be created at different nodes. This causes the volume not to be released until the pod of the corresponding step is finished.\nIn case is a service pod that does not terminate until the end of the workflow it can have the volume forever and end up giving timeout.\nWould it be possible not to mount volume in the services?\n\n### Steps to reproduce\n\n1. Install Woodpecker CI server and kubernetes backend agents with the helm chart.\n2. Run a repo pipeline with parallel steps and a service.\n\n### Expected behavior\n\nI would like the workflow not to get stuck when a service attaches the volume. We could avoid this by making it optional to mount the volume on the service.\n\n### System Info\n\n```shell\nWoodpecker CI 3.0.1\nGKE Autopilot 1.30.8-gke\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]",[2015,2016],{"name":2002,"color":2003},{"name":2017,"color":2018},"backend/kubernetes","bfdadc",4795,"FailedAttachVolume with K8s backend in GKE Autopilot","2025-03-18T13:46:26Z","https://github.com/woodpecker-ci/woodpecker/issues/4795",0.7636474,{"description":2025,"labels":2026,"number":2030,"owner":1991,"repository":1992,"state":1993,"title":2031,"updated_at":2032,"url":2033,"score":2034},"### Clear and concise description of the problem\n\nIn a `Dockerfile` it is often necessary to connect to some resource (e.g. remote registry) and for that we need secrets.\r\n\r\nThere is no way to do this.\n\n### Suggested solution\n\nThe [official solution](https://docs.docker.com/engine/reference/builder/#run---mounttypesecret) is to use `RUN --mount=type=secret`. But that isn't supported by Woodpecker.\n\n### Alternative\n\n*There is no safe alternative.*\r\n\r\nUsing `ENV` is a terrible idea because they will be baked into the image. Unless they are passed into the docker build from the pipeline, but Woodpecker isn't able to do that currently.\r\n\r\nUsing `ARG` is also bad as they are [exposed](https://docs.docker.com/engine/reference/builder/#arg) in the docker history. So we can't use Woodpecker's `build_args` option.\n\n### Additional context\n\nI am sure some people will say that this is an easy problem to solve: \"just move that logic out of the Dockerfile and into the pipeline itself\".\r\n\r\nThat is not always possible. Some Dockerfiles are complex and must be used as-is. But they are managed by the pipeline, and the pipeline doesn't have any way to pass secrets (via environment variables or --mount=type=secret).\n\n### Validations\n\n- [X] Checked that the feature isn't part of the `next` version already [https://woodpecker-ci.org/faq#which-version-of-woodpecker-should-i-use]\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 request the same feature to avoid creating a duplicate.",[2027],{"name":2028,"color":2029},"feature","180DBE",2446,"Support --mount=type=secret when building a Dockerfile","2023-09-11T23:45:21Z","https://github.com/woodpecker-ci/woodpecker/issues/2446",0.7694948,{"description":2036,"labels":2037,"number":2042,"owner":1991,"repository":1992,"state":1993,"title":2043,"updated_at":2044,"url":2045,"score":2046},"https://ci.woodpecker-ci.org/repos/8987/pipeline/94/errors\r\n\r\nversion: current main",[2038,2039],{"name":2002,"color":2003},{"name":2040,"color":2041},"server","5D7A92",4249,"[Bug] MultiForge: second forge can not be used","2024-10-25T17:33:00Z","https://github.com/woodpecker-ci/woodpecker/issues/4249",0.77280337,{"description":2048,"labels":2049,"number":2052,"owner":1991,"repository":1992,"state":2053,"title":2054,"updated_at":2055,"url":2056,"score":2057},"### Clear and concise description of the problem\n\nWhen committing with a structured message (e.g. following Conventional Commits specification), Woodpecker cramps the whole message together into one large string when displaying it in the repo commit list and the pipeline run title. This is usually pretty ugly and decreases readability. \r\n\r\nExample:\r\n\r\n\n\n### Suggested solution\n\nA new environment variable CI_COMMIT_MESSAGE_HEADER could be added which would be used to populate the strings mentioned above. This would of course require parsing the commit message first.\n\n### Alternative\n\nAlternatively, a UI section for the body and footer of the commit message could be added below the pipeline run title to display those variables. \r\n\r\nAll of the steps described above would still be necessary, but in addition, at least CI_COMMIT_MESSAGE_BODY (if one wants to treat body and footer as one) would have to be parsed and added as well.\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.",[2050,2051],{"name":2005,"color":2006},{"name":2028,"color":2029},1489,"closed","Beautify display of commit messages with bodies and/or footers","2023-08-20T16:52:56Z","https://github.com/woodpecker-ci/woodpecker/issues/1489",0.7046853,{"description":2059,"labels":2060,"number":2064,"owner":1991,"repository":1992,"state":2053,"title":2065,"updated_at":2066,"url":2067,"score":2068},"https://ci.woodpecker-ci.org/repos/3780/pipeline/20983/15\r\n\r\nbuild-deb-rpo errors with:\r\n```\r\nVERSION_NUMBER=0.0.0 nfpm package --config ./nfpm/agent.yaml --target dist --packager deb\r\nmatching \"./woodpecker-agent.service\": file does not exist\r\nmake: *** [Makefile:319: bundle-agent] Error 1\r\n```",[2061],{"name":2062,"color":2063},"build","6AB8BA",4152,"fix 'binary' workflow","2024-10-05T14:43:41Z","https://github.com/woodpecker-ci/woodpecker/issues/4152",0.7447324,{"description":2070,"labels":2071,"number":2073,"owner":1991,"repository":1992,"state":2053,"title":2074,"updated_at":2075,"url":2076,"score":2077},"### Component\n\nserver, agent\n\n### Describe the bug\n\nIf you try to set proxy related env vars in a pipeline step, they won't get used. They are present but without the given values:\r\n\r\n```yaml\r\nwhen:\r\n - event: [pull_request, tag, cron]\r\n - event: push\r\n branch:\r\n - ${CI_REPO_DEFAULT_BRANCH}\r\n - renovate/*\r\n\r\nvariables:\r\n - &golang \"golang:1.21\"\r\n - proxy_args: &proxy_args\r\n - \"http_proxy=http://swarmproxy:8888\"\r\n - \"https_proxy=http://swarmproxy:8888\"\r\n - \"no_proxy=.myhost.com\"\r\n - \"TESTENV=DEBUGGING\"\r\nsteps:\r\n test:\r\n image: *golang\r\n environment:\r\n - \u003C\u003C: *proxy_args\r\n commands:\r\n - env | sort\r\n - go test -cover ./...\r\n```\r\n\r\nThe output looks like this:\r\n\r\n```shell\r\n....\r\nGOLANG_VERSION=1.21.4\r\nGOPATH=/go\r\nGOTOOLCHAIN=local\r\nHOME=/root\r\nHOSTNAME=45d463959e69\r\nHTTPS_PROXY=\r\nHTTP_PROXY=\r\nNO_PROXY=\r\nPATH=/go/bin:/usr/local/go/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin\r\nPWD=/woodpecker/src/xxxxxx/Templates/plugin-extend-env\r\nSHELL=/bin/sh\r\nTESTENV=DEBUGGING\r\nhttp_proxy=\r\nhttps_proxy=\r\nno_proxy=\r\n+ go test -cover ./...\r\ngo: downloading github.com/urfave/cli/v2 v2.25.7\r\ngo: downloading github.com/sirupsen/logrus v1.9.3\r\ngo: downloading github.com/Masterminds/semver/v3 v3.2.1\r\ngo: downloading github.com/joho/godotenv v1.5.1\r\nsemver.go:6:2: github.com/Masterminds/semver/v3@v3.2.1: Get \"https://proxy.golang.org/github.com/%21masterminds/semver/v3/@v/v3.2.1.zip\": dial tcp: lookup proxy.golang.org on 127.0.0.11:53: no such host\r\ntools.go:3:8: github.com/joho/godotenv@v1.5.1: Get \"https://proxy.golang.org/github.com/joho/godotenv/@v/v1.5.1.zip\": dial tcp: lookup proxy.golang.org on 127.0.0.11:53: no such host\r\nlogger.go:6:2: github.com/sirupsen/logrus@v1.9.3: Get \"https://proxy.golang.org/github.com/sirupsen/logrus/@v/v1.9.3.zip\": dial tcp: lookup proxy.golang.org on 127.0.0.11:53: no such host\r\nflags.go:4:2: github.com/urfave/cli/v2@v2.25.7: Get \"https://proxy.golang.org/github.com/urfave/cli/v2/@v/v2.25.7.zip\": dial tcp: lookup proxy.golang.org on 127.0.0.11:53: no such host\r\n...\r\n```\n\n### System Info\n\n```shell\n{\r\n \"source\": \"https://github.com/woodpecker-ci/woodpecker\",\r\n \"version\": \"1.0.5\"\r\n}\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).",[2072],{"name":2002,"color":2003},2858,"Proxy environment variables not passed through in pipeline steps","2023-12-03T16:50:09Z","https://github.com/woodpecker-ci/woodpecker/issues/2858",0.7459788,{"description":2079,"labels":2080,"number":2086,"owner":1991,"repository":1992,"state":2053,"title":2087,"updated_at":2088,"url":2089,"score":2090},"like the agent:\r\nhttps://github.com/woodpecker-ci/woodpecker/blob/205f8ecc1649ab48a9d5fb52b0ecd7b8c24abf4f/docker/Dockerfile.agent.multiarch#L21\r\n\r\nref https://docs.docker.com/engine/reference/builder/#healthcheck\r\n\r\nTODO:\r\n- [ ] add subcommand to server that can test against https://github.com/woodpecker-ci/woodpecker/blob/205f8ecc1649ab48a9d5fb52b0ecd7b8c24abf4f/server/router/router.go#L69\r\n- [ ] use subcommand in container",[2081,2082,2083],{"name":2040,"color":2041},{"name":2028,"color":2029},{"name":2084,"color":2085},"good first issue","76ea72",1943,"Add an healthcheck to server container","2023-07-25T13:55:31Z","https://github.com/woodpecker-ci/woodpecker/issues/1943",0.75661314,{"description":2092,"labels":2093,"number":2095,"owner":1991,"repository":1992,"state":2053,"title":2096,"updated_at":2097,"url":2098,"score":2099},"### Component\n\nserver\n\n### Describe the bug\n\nThere is unnecessary empty table `registry_v031` in database.\n\n### Steps to reproduce\n\n```sql\r\npostgres=# \\c woodpecker\r\nYou are now connected to database \"woodpecker\" as user \"postgres\".\r\nwoodpecker=# \\dt\r\n List of relations\r\n Schema | Name | Type | Owner\r\n--------+------------------+-------+------------\r\n public | agents | table | woodpecker\r\n public | configs | table | woodpecker\r\n public | crons | table | woodpecker\r\n public | files | table | woodpecker\r\n public | forges | table | woodpecker\r\n public | log_entries | table | woodpecker\r\n public | migration | table | woodpecker\r\n public | orgs | table | woodpecker\r\n public | perms | table | woodpecker\r\n public | pipeline_configs | table | woodpecker\r\n public | pipelines | table | woodpecker\r\n public | redirections | table | woodpecker\r\n public | registries | table | woodpecker\r\n public | registry_v031 | table | woodpecker\r\n public | repos | table | woodpecker\r\n public | secrets | table | woodpecker\r\n public | server_configs | table | woodpecker\r\n public | steps | table | woodpecker\r\n public | tasks | table | woodpecker\r\n public | users | table | woodpecker\r\n public | workflows | table | woodpecker\r\n(21 rows)\r\n\r\nwoodpecker=# select * from registry_v031;\r\n registry_id | registry_repo_id | registry_addr | registry_username | registry_password\r\n-------------+------------------+---------------+-------------------+-------------------\r\n(0 rows)\r\n``` \n\n### Expected behavior\n\nThere is no garbage table.\n\n### System Info\n\n```shell\nWoodpecker `2.7.0`, Postgres 16.\n```\n\n\n### Additional context\n\n#3806\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]",[2094],{"name":2002,"color":2003},4104,"Garbage table registry_v031","2024-09-14T11:41:15Z","https://github.com/woodpecker-ci/woodpecker/issues/4104",0.7599274,["Reactive",2101],{},["Set"],["ShallowReactive",2104],{"TRc1wZytZ_XrK4EfJfei_Sz-An4H4Yy6syhVxH_PVJc":-1,"hrL-Mpq05IXKHd-95Ua6qjvQDsOVXlmPVx0_vlZLxCg":-1},"/woodpecker-ci/woodpecker/3941"]