2023-09-09 05:43:58 +00:00
|
|
|
when:
|
|
|
|
event: [tag]
|
|
|
|
ref: refs/tags/v*
|
|
|
|
|
|
|
|
steps:
|
|
|
|
publish:
|
|
|
|
image: woodpeckerci/plugin-docker-buildx
|
|
|
|
settings:
|
2024-04-30 08:22:55 +00:00
|
|
|
platforms: linux/amd64,linux/arm64
|
2023-09-09 05:43:58 +00:00
|
|
|
repo: gitea.dwysokinski.me/twhelp-packages/dcbot
|
|
|
|
registry: gitea.dwysokinski.me
|
2023-09-09 05:48:58 +00:00
|
|
|
dockerfile: ./build/docker/dcbot/prod/Dockerfile
|
2023-09-09 05:43:58 +00:00
|
|
|
auto_tag: true
|
|
|
|
build_args:
|
|
|
|
- CI_COMMIT_TAG=${CI_COMMIT_TAG}
|
|
|
|
username:
|
|
|
|
from_secret: docker_username
|
|
|
|
password:
|
|
|
|
from_secret: docker_password
|
2024-04-30 08:16:55 +00:00
|
|
|
|
2023-09-09 06:51:56 +00:00
|
|
|
publish-migrations:
|
|
|
|
image: woodpeckerci/plugin-docker-buildx
|
|
|
|
settings:
|
2024-04-30 08:16:55 +00:00
|
|
|
platforms: linux/amd64,linux/arm64
|
2023-09-09 06:51:56 +00:00
|
|
|
repo: gitea.dwysokinski.me/twhelp-packages/dcbot-migrations
|
|
|
|
registry: gitea.dwysokinski.me
|
|
|
|
dockerfile: ./build/docker/dcbot-migrations/Dockerfile
|
|
|
|
auto_tag: true
|
|
|
|
build_args:
|
|
|
|
- CI_COMMIT_TAG=${CI_COMMIT_TAG}
|
|
|
|
username:
|
|
|
|
from_secret: docker_username
|
|
|
|
password:
|
|
|
|
from_secret: docker_password
|