diff --git a/Dockerfile b/Dockerfile index c101067d9..d8dbadc6e 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -# docker build --rm -t drone/drone . +# docker build --rm -t woodpeckerci/woodpecker-server . FROM drone/ca-certs EXPOSE 8000 9000 80 443 diff --git a/Dockerfile.agent b/Dockerfile.agent index d5f5feb56..95a4e669c 100644 --- a/Dockerfile.agent +++ b/Dockerfile.agent @@ -1,4 +1,4 @@ -# docker build --rm -f Dockerfile.agent -t drone/agent . +# docker build --rm -f Dockerfile.agent -t woodpeckerci/woodpecker-agent . FROM drone/ca-certs ENV GODEBUG=netdns=go diff --git a/charts/woodpecker-agent/values.yaml b/charts/woodpecker-agent/values.yaml index 7302749df..ac7ce060b 100644 --- a/charts/woodpecker-agent/values.yaml +++ b/charts/woodpecker-agent/values.yaml @@ -2,7 +2,7 @@ replicaCount: 2 image: registry: docker.io - repository: laszlocloud/woodpecker-agent + repository: woodpeckerci/woodpecker-agent pullPolicy: Always # Overrides the image tag whose default is the chart appVersion. tag: "" diff --git a/charts/woodpecker-server/values.yaml b/charts/woodpecker-server/values.yaml index b4ee90660..cfa83193c 100644 --- a/charts/woodpecker-server/values.yaml +++ b/charts/woodpecker-server/values.yaml @@ -2,7 +2,7 @@ replicaCount: 1 image: registry: docker.io - repository: laszlocloud/woodpecker-server + repository: woodpeckerci/woodpecker-server pullPolicy: Always # Overrides the image tag whose default is the chart appVersion. tag: "" diff --git a/docker-compose.yml b/docker-compose.yml index 2e14a8ee9..00e1f5919 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -5,7 +5,7 @@ services: build: context: . dockerfile: Dockerfile - image: laszlocloud/woodpecker-server:local + image: woodpeckerci/woodpecker-server:local ports: - 8000:8000 volumes: @@ -22,7 +22,7 @@ services: build: context: . dockerfile: Dockerfile.agent - image: laszlocloud/woodpecker-agent:local + image: woodpeckerci/woodpecker-agent:local volumes: - /var/run/docker.sock:/var/run/docker.sock environment: diff --git a/docs/docs/administration/bitbucket.md b/docs/docs/administration/bitbucket.md index e2fcbbd44..20f0c2eba 100644 --- a/docs/docs/administration/bitbucket.md +++ b/docs/docs/administration/bitbucket.md @@ -7,7 +7,7 @@ version: '3' services: woodpecker-server: - image: laszlocloud/woodpecker-server:v0.9.0 + image: woodpeckerci/woodpecker-server:latest ports: - 80:8000 - 9000 @@ -23,7 +23,7 @@ services: - DRONE_SECRET=${DRONE_SECRET} woodpecker-agent: - image: laszlocloud/woodpecker-agent:v0.9.0 + image: woodpeckerci/woodpecker-agent:latest restart: always depends_on: - woodpecker-server diff --git a/docs/docs/administration/bitbucket_server.md b/docs/docs/administration/bitbucket_server.md index 2cc70871a..19254846b 100644 --- a/docs/docs/administration/bitbucket_server.md +++ b/docs/docs/administration/bitbucket_server.md @@ -7,7 +7,7 @@ version: '3' services: woodpecker-server: - image: laszlocloud/woodpecker-server:v0.9.0 + image: woodpeckerci/woodpecker-server:latest ports: - 80:8000 - 9000 @@ -28,7 +28,7 @@ services: + - /path/to/key.pem:/path/to/key.pem woodpecker-agent: - image: laszlocloud/woodpecker-agent:v0.9.0 + image: woodpeckerci/woodpecker-agent:latest restart: always depends_on: - woodpecker-server @@ -62,7 +62,7 @@ version: '2' services: woodpecker-server: - image: laszlocloud/woodpecker-server:v0.9.0 + image: woodpeckerci/woodpecker-server:latest environment: - DRONE_OPEN=true - DRONE_HOST=${DRONE_HOST} @@ -84,7 +84,7 @@ version: '3' services: woodpecker-server: - image: laszlocloud/woodpecker-server:v0.9.0 + image: woodpeckerci/woodpecker-server:latest environment: - DRONE_OPEN=true - DRONE_HOST=${DRONE_HOST} diff --git a/docs/docs/administration/database.md b/docs/docs/administration/database.md index e81364567..f497908a8 100644 --- a/docs/docs/administration/database.md +++ b/docs/docs/administration/database.md @@ -11,7 +11,7 @@ version: '3' services: woodpecker-server: - image: laszlocloud/woodpecker-server:v0.9.0 + image: woodpeckerci/woodpecker-server:latest environment: + DRONE_DATABASE_DRIVER: mysql + DRONE_DATABASE_DATASOURCE: root:password@tcp(1.2.3.4:3306)/drone?parseTime=true @@ -26,7 +26,7 @@ version: '3' services: woodpecker-server: - image: laszlocloud/woodpecker-server:v0.9.0 + image: woodpeckerci/woodpecker-server:latest environment: + DRONE_DATABASE_DRIVER: postgres + DRONE_DATABASE_DATASOURCE: postgres://root:password@1.2.3.4:5432/postgres?sslmode=disable diff --git a/docs/docs/administration/github.md b/docs/docs/administration/github.md index 763619a04..dfe6717b3 100644 --- a/docs/docs/administration/github.md +++ b/docs/docs/administration/github.md @@ -7,7 +7,7 @@ version: '3' services: woodpecker-server: - image: laszlocloud/woodpecker-server:v0.9.0 + image: woodpeckerci/woodpecker-server:latest ports: - 80:8000 - 9000 @@ -23,7 +23,7 @@ services: - DRONE_SECRET=${DRONE_SECRET} woodpecker-agent: - image: laszlocloud/woodpecker-agent:v0.9.0 + image: woodpeckerci/woodpecker-agent:latest restart: always depends_on: - woodpecker-server diff --git a/docs/docs/administration/gitlab.md b/docs/docs/administration/gitlab.md index 095dcc08a..7d717a42e 100644 --- a/docs/docs/administration/gitlab.md +++ b/docs/docs/administration/gitlab.md @@ -7,7 +7,7 @@ version: '2' services: woodpecker-server: - image: laszlocloud/woodpecker-server:v0.9.0 + image: woodpeckerci/woodpecker-server:latest ports: - 80:8000 - 9000 @@ -22,7 +22,7 @@ services: - DRONE_SECRET=${DRONE_SECRET} woodpecker-agent: - image: laszlocloud/woodpecker-agent:v0.9.0 + image: woodpeckerci/woodpecker-agent:latest restart: always depends_on: - woodpecker-server diff --git a/docs/docs/administration/lets-encrypt.md b/docs/docs/administration/lets-encrypt.md index 6a15ae965..0f8161bc2 100644 --- a/docs/docs/administration/lets-encrypt.md +++ b/docs/docs/administration/lets-encrypt.md @@ -7,7 +7,7 @@ You can enable Let's Encrypt by making the following modifications to your serve ```diff services: woodpecker-server: - image: laszlocloud/woodpecker-server:v0.9.0 + image: woodpeckerci/woodpecker-server:latest ports: + - 80:80 + - 443:443 diff --git a/docs/docs/administration/ssl.md b/docs/docs/administration/ssl.md index f522d613c..68b26e7f5 100644 --- a/docs/docs/administration/ssl.md +++ b/docs/docs/administration/ssl.md @@ -5,7 +5,7 @@ Woodpecker supports ssl configuration by mounting certificates into your contain ```diff services: woodpecker-server: - image: laszlocloud/woodpecker-server:v0.9.0 + image: woodpeckerci/woodpecker-server:latest ports: + - 80:80 + - 443:443 @@ -25,7 +25,7 @@ Update your configuration to expose the following ports: ```diff services: woodpecker-server: - image: laszlocloud/woodpecker-server:v0.9.0 + image: woodpeckerci/woodpecker-server:latest ports: + - 80:80 + - 443:443 @@ -37,7 +37,7 @@ Update your configuration to mount your certificate and key: ```diff services: woodpecker-server: - image: laszlocloud/woodpecker-server:v0.9.0 + image: woodpeckerci/woodpecker-server:latest ports: - 80:80 - 443:443 @@ -53,7 +53,7 @@ Update your configuration to provide the paths of your certificate and key: ```diff services: woodpecker-server: - image: laszlocloud/woodpecker-server:v0.9.0 + image: woodpeckerci/woodpecker-server:latest ports: - 80:80 - 443:443 diff --git a/docs/docs/environment-variables.md b/docs/docs/environment-variables.md index 1d31b5ac9..02313715c 100644 --- a/docs/docs/environment-variables.md +++ b/docs/docs/environment-variables.md @@ -103,7 +103,7 @@ WOODPECKER_ENVIRONMENT=first_var:value1,second_var:value2 ```.diff services: woodpecker-server: - image: laszlocloud/woodpecker-server:v0.9.0 + image: woodpeckerci/woodpecker-server:latest environment: - WOODPECKER_OPEN=true - WOODPECKER_ORGS=dolores,dogpatch diff --git a/docs/docs/pipeline.md b/docs/docs/pipeline.md index 6d7d8a528..baab18f3a 100644 --- a/docs/docs/pipeline.md +++ b/docs/docs/pipeline.md @@ -136,7 +136,7 @@ version: '3' services: woodpecker-server: - image: laszlocloud/woodpecker-server:v0.9.0 + image: woodpeckerci/woodpecker-server:latest ports: - 80:8000 - 9000 diff --git a/docs/docs/server-setup.md b/docs/docs/server-setup.md index 89a34efaf..f833c829b 100644 --- a/docs/docs/server-setup.md +++ b/docs/docs/server-setup.md @@ -10,7 +10,7 @@ version: '3' services: woodpecker-server: - image: laszlocloud/woodpecker-server:v0.9.0 + image: woodpeckerci/woodpecker-server:latest ports: - 80:8000 - 9000 @@ -26,7 +26,7 @@ services: - WOODPECKER_SECRET=${WOODPECKER_SECRET} woodpecker-agent: - image: laszlocloud/woodpecker-agent:v0.9.0 + image: woodpeckerci/woodpecker-agent:latest command: agent restart: always depends_on: @@ -55,7 +55,7 @@ You must therefore provide the address in `://` format. Please ```diff services: woodpecker-server: - image: laszlocloud/woodpecker-server:v0.9.0 + image: woodpeckerci/woodpecker-server:latest environment: - WOODPECKER_OPEN=true + - WOODPECKER_HOST=${WOODPECKER_HOST} @@ -70,7 +70,7 @@ Agents require access to the host machine's Docker daemon. ```diff services: woodpecker-agent: - image: laszlocloud/woodpecker-agent:v0.9.0 + image: woodpeckerci/woodpecker-agent:latest command: agent restart: always depends_on: [ woodpecker-server ] @@ -83,7 +83,7 @@ Agents require the server address for agent-to-server communication. ```diff services: woodpecker-agent: - image: laszlocloud/woodpecker-agent:v0.9.0 + image: woodpeckerci/woodpecker-agent:latest command: agent restart: always depends_on: [ woodpecker-server ] @@ -101,7 +101,7 @@ This should be a random string of your choosing and should be kept private. You ```diff services: woodpecker-server: - image: laszlocloud/woodpecker-server:v0.9.0 + image: woodpeckerci/woodpecker-server:latest environment: - WOODPECKER_OPEN=true - WOODPECKER_HOST=${WOODPECKER_HOST} @@ -110,7 +110,7 @@ services: - WOODPECKER_GITHUB_SECRET=${WOODPECKER_GITHUB_SECRET} + - WOODPECKER_SECRET=${WOODPECKER_SECRET} woodpecker-agent: - image: laszlocloud/woodpecker-agent:v0.9.0 + image: woodpeckerci/woodpecker-agent:latest environment: - WOODPECKER_SERVER=woodpecker-server:9000 - WOODPECKER_DEBUG=true @@ -124,7 +124,7 @@ This example enables open registration for users that are members of approved Gi ```diff services: woodpecker-server: - image: laszlocloud/woodpecker-server:v0.9.0 + image: woodpeckerci/woodpecker-server:latest environment: + - WOODPECKER_OPEN=true + - WOODPECKER_ORGS=dolores,dogpatch @@ -140,7 +140,7 @@ Administrators should also be enumerated in your configuration. ```diff services: woodpecker-server: - image: laszlocloud/woodpecker-server:v0.9.0 + image: woodpeckerci/woodpecker-server:latest environment: - WOODPECKER_OPEN=true - WOODPECKER_ORGS=dolores,dogpatch @@ -168,7 +168,7 @@ See the [database settings](/administration/database) page to configure Postgres ```diff services: woodpecker-server: - image: laszlocloud/woodpecker-server:v0.9.0 + image: woodpeckerci/woodpecker-server:latest ports: - 80:8000 - 9000 @@ -226,7 +226,7 @@ spec: prometheus.io/scrape: 'true' spec: containers: - - image: laszlocloud/woodpecker-server:v0.13.0-rc.3 + - image: woodpeckerci/woodpecker-server:latest imagePullPolicy: Always name: woodpecker env: @@ -323,7 +323,7 @@ spec: spec: containers: - name: agent - image: laszlocloud/woodpecker-agent:v0.13.0-rc.3 + image: woodpeckerci/woodpecker-agent:latest imagePullPolicy: Always ports: - name: http @@ -369,7 +369,7 @@ Use the `WOODPECKER_REPO_OWNERS` variable to filter which Github user's repos sh ```diff services: woodpecker-server: - image: laszlocloud/woodpecker-server:v0.9.0 + image: woodpeckerci/woodpecker-server:latest environment: - WOODPECKER_OPEN=true - WOODPECKER_ORGS=dolores,dogpatch