1
0
mirror of https://github.com/woodpecker-ci/woodpecker.git synced 2024-11-30 08:06:52 +02:00

Only publish to latest on tags (#505)

* Only publish to latest on tags

* Update docs

Co-authored-by: 6543 <6543@obermui.de>
This commit is contained in:
Kaleb Elwert 2022-01-15 08:49:31 -08:00 committed by GitHub
parent 900b4b09ad
commit 62557ffeff
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 8 additions and 11 deletions

View File

@ -43,8 +43,7 @@ pipeline:
settings: settings:
repo: woodpeckerci/woodpecker-server repo: woodpeckerci/woodpecker-server
dockerfile: docker/Dockerfile.server dockerfile: docker/Dockerfile.server
# TODO: only release as next after 0.15.0 got released tag: next
tag: [next, latest]
when: when:
branch: ${CI_REPO_DEFAULT_BRANCH} branch: ${CI_REPO_DEFAULT_BRANCH}
event: push event: push
@ -56,8 +55,7 @@ pipeline:
settings: settings:
repo: woodpeckerci/woodpecker-server repo: woodpeckerci/woodpecker-server
dockerfile: docker/Dockerfile.server.alpine dockerfile: docker/Dockerfile.server.alpine
# TODO: only release as next-alpine after 0.15.0 got released tag: next-alpine
tag: [next-alpine, latest-alpine]
when: when:
branch: ${CI_REPO_DEFAULT_BRANCH} branch: ${CI_REPO_DEFAULT_BRANCH}
event: push event: push
@ -82,8 +80,7 @@ pipeline:
repo: woodpeckerci/woodpecker-agent repo: woodpeckerci/woodpecker-agent
dockerfile: docker/Dockerfile.agent.multiarch dockerfile: docker/Dockerfile.agent.multiarch
platforms: linux/arm/v7,linux/arm64/v8,linux/amd64,linux/ppc64le,windows/amd64,darwin/amd64,darwin/arm64 platforms: linux/arm/v7,linux/arm64/v8,linux/amd64,linux/ppc64le,windows/amd64,darwin/amd64,darwin/arm64
# TODO: only release as next after 0.15.0 got released tag: next
tag: [next, latest]
when: when:
branch: ${CI_REPO_DEFAULT_BRANCH} branch: ${CI_REPO_DEFAULT_BRANCH}
event: push event: push
@ -96,8 +93,7 @@ pipeline:
repo: woodpeckerci/woodpecker-agent repo: woodpeckerci/woodpecker-agent
dockerfile: docker/Dockerfile.agent.alpine.multiarch dockerfile: docker/Dockerfile.agent.alpine.multiarch
platforms: linux/arm/v7,linux/arm64/v8,linux/amd64,linux/ppc64le platforms: linux/arm/v7,linux/arm64/v8,linux/amd64,linux/ppc64le
# TODO: only release as next-alpine after 0.15.0 got released tag: next-alpine
tag: [next-alpine, latest-alpine]
when: when:
branch: ${CI_REPO_DEFAULT_BRANCH} branch: ${CI_REPO_DEFAULT_BRANCH}
event: push event: push

View File

@ -7,9 +7,10 @@
## Docker images ## Docker images
Image variants: Image variants:
* The `next` images are based on the current master branch * The `latest` image is the latest stable release
* The `latest` is same as next (will change after v0.15.0 release to be latest stable release) * The `vX.X.X` version images are stable releases
* The `x.x.x` version images are stable releases * The `vX.X` images are based on version specific release branche, they have the latest bugfixes backported
* The `next` images are based on the current master branch and should not be used for production environments
``` bash ``` bash
# server # server