mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2024-12-22 16:36:30 +00:00
Set /woodpecker
as default workdir for the **woodpecker-cli** container (#4130)
This commit is contained in:
parent
79aeb92e0c
commit
8c827be951
3 changed files with 6 additions and 0 deletions
|
@ -8,7 +8,10 @@ RUN --mount=type=cache,target=/root/.cache/go-build \
|
|||
make build-cli
|
||||
|
||||
FROM docker.io/alpine:3.20
|
||||
WORKDIR /woodpecker
|
||||
|
||||
RUN apk add -U --no-cache ca-certificates
|
||||
|
||||
ENV GODEBUG=netdns=go
|
||||
ENV WOODPECKER_DISABLE_UPDATE_CHECK=true
|
||||
|
||||
|
|
|
@ -8,6 +8,8 @@ RUN --mount=type=cache,target=/root/.cache/go-build \
|
|||
make build-cli
|
||||
|
||||
FROM scratch
|
||||
WORKDIR /woodpecker
|
||||
|
||||
ENV GODEBUG=netdns=go
|
||||
ENV WOODPECKER_DISABLE_UPDATE_CHECK=true
|
||||
|
||||
|
|
|
@ -4,6 +4,7 @@ Some versions need some changes to the server configuration or the pipeline conf
|
|||
|
||||
## `next`
|
||||
|
||||
- Set `/woodpecker` as defautl workdir for the **woodpecker-cli** container
|
||||
- Removed built-in environment variables:
|
||||
- `CI_COMMIT_URL` use `CI_PIPELINE_FORGE_URL`
|
||||
- `CI_STEP_FINISHED` as empty during execution
|
||||
|
|
Loading…
Reference in a new issue