Update pipeline.yml

This commit is contained in:
Florian Kaiser
2022-03-25 12:05:30 +01:00
committed by GitHub
parent 31f8ec5d22
commit 1855c9966c

View File

@@ -4,7 +4,7 @@ pipeline:
commands:
- echo -n "${CI_COMMIT_BRANCH//\//-}-${CI_COMMIT_SHA:0:8}, latest" > .tags
publish_api:
build_api:
image: woodpeckerci/plugin-docker-buildx
settings:
repo:
@@ -18,32 +18,34 @@ pipeline:
dockerfile: api/Dockerfile
platforms: linux/amd64
# publish_frontend:
# image: plugins/docker
# settings:
# username:
# from_secret: username
# password:
# from_secret: password
# registry:
# from_secret: registry
# repo:
# from_secret: repo_frontend
# dockerfile: frontend/Dockerfile
# publish_bot:
# image: plugins/docker
# settings:
# username:
# from_secret: username
# password:
# from_secret: password
# registry:
# from_secret: registry
# repo:
# from_secret: repo_bot
# dockerfile: telegram_bot/Dockerfile
build_bot:
image: woodpeckerci/plugin-docker-buildx
settings:
repo:
from_secret: repo_bot
username:
from_secret: username
password:
from_secret: password
registry:
from_secret: registry
dockerfile: telegram_bot/Dockerfile
platforms: linux/amd64
build_frontend:
image: woodpeckerci/plugin-docker-buildx
settings:
repo:
from_secret: repo_frontend
username:
from_secret: username
password:
from_secret: password
registry:
from_secret: registry
dockerfile: frontend/Dockerfile
platforms: linux/amd64
# deploy:
# image: appleboy/drone-ssh
# network_mode: host