2023-07-05 15:14:33 +02:00
|
|
|
depends_on:
|
|
|
|
- test
|
|
|
|
|
|
|
|
pipeline:
|
|
|
|
buildImage:
|
|
|
|
image: woodpeckerci/plugin-docker-buildx
|
|
|
|
settings:
|
|
|
|
registry: gitea.ocram85.com
|
2023-07-05 15:24:47 +02:00
|
|
|
repo: gitea.ocram85.com/ocram85/swarmproxy
|
2023-07-05 15:14:33 +02:00
|
|
|
dockerfile: Dockerfile
|
|
|
|
auto_tag: true
|
|
|
|
username:
|
|
|
|
from_secret: gitea_user
|
|
|
|
password:
|
|
|
|
from_secret: gitea_passwd
|
|
|
|
build_args:
|
|
|
|
- VERSION=${CI_COMMIT_TAG:-PR ${CI_COMMIT_PULL_REQUEST}}
|
|
|
|
- TAG=${CI_COMMIT_TAG}
|
|
|
|
when:
|
|
|
|
event: push
|
|
|
|
branch: master
|
|
|
|
|
|
|
|
buildTag:
|
|
|
|
image: woodpeckerci/plugin-docker-buildx
|
|
|
|
settings:
|
|
|
|
registry: gitea.ocram85.com
|
2023-07-05 15:24:47 +02:00
|
|
|
repo: gitea.ocram85.com/ocram85/swarmproxy
|
2023-07-05 15:14:33 +02:00
|
|
|
dockerfile: Dockerfile
|
|
|
|
auto_tag: true
|
|
|
|
username:
|
|
|
|
from_secret: gitea_user
|
|
|
|
password:
|
|
|
|
from_secret: gitea_passwd
|
|
|
|
build_args:
|
|
|
|
- VERSION=${CI_COMMIT_TAG:-PR ${CI_COMMIT_PULL_REQUEST}}
|
|
|
|
- TAG=${CI_COMMIT_TAG}
|
|
|
|
when:
|
|
|
|
event: tag
|
|
|
|
|
|
|
|
GiteaRelease:
|
|
|
|
image: plugins/gitea-release
|
|
|
|
settings:
|
|
|
|
api_key:
|
|
|
|
from_secret: RENOVATE_TOKEN
|
|
|
|
base_url: https://gitea.ocram85.com
|
|
|
|
title: ${CI_COMMIT_TAG}
|
|
|
|
note: "> :bulb: **Note:** See [CHANGELOG.md](src/branch/master/CHANGELOG.md) for recent changes."
|
|
|
|
when:
|
|
|
|
event: tag
|