Update pipeline.yml
This commit is contained in:
parent
31f8ec5d22
commit
1855c9966c
@ -4,7 +4,7 @@ pipeline:
|
|||||||
commands:
|
commands:
|
||||||
- echo -n "${CI_COMMIT_BRANCH//\//-}-${CI_COMMIT_SHA:0:8}, latest" > .tags
|
- echo -n "${CI_COMMIT_BRANCH//\//-}-${CI_COMMIT_SHA:0:8}, latest" > .tags
|
||||||
|
|
||||||
publish_api:
|
build_api:
|
||||||
image: woodpeckerci/plugin-docker-buildx
|
image: woodpeckerci/plugin-docker-buildx
|
||||||
settings:
|
settings:
|
||||||
repo:
|
repo:
|
||||||
@ -18,31 +18,33 @@ pipeline:
|
|||||||
dockerfile: api/Dockerfile
|
dockerfile: api/Dockerfile
|
||||||
platforms: linux/amd64
|
platforms: linux/amd64
|
||||||
|
|
||||||
# publish_frontend:
|
build_bot:
|
||||||
# image: plugins/docker
|
image: woodpeckerci/plugin-docker-buildx
|
||||||
# settings:
|
settings:
|
||||||
# username:
|
repo:
|
||||||
# from_secret: username
|
from_secret: repo_bot
|
||||||
# password:
|
username:
|
||||||
# from_secret: password
|
from_secret: username
|
||||||
# registry:
|
password:
|
||||||
# from_secret: registry
|
from_secret: password
|
||||||
# repo:
|
registry:
|
||||||
# from_secret: repo_frontend
|
from_secret: registry
|
||||||
# dockerfile: frontend/Dockerfile
|
dockerfile: telegram_bot/Dockerfile
|
||||||
|
platforms: linux/amd64
|
||||||
|
|
||||||
# publish_bot:
|
build_frontend:
|
||||||
# image: plugins/docker
|
image: woodpeckerci/plugin-docker-buildx
|
||||||
# settings:
|
settings:
|
||||||
# username:
|
repo:
|
||||||
# from_secret: username
|
from_secret: repo_frontend
|
||||||
# password:
|
username:
|
||||||
# from_secret: password
|
from_secret: username
|
||||||
# registry:
|
password:
|
||||||
# from_secret: registry
|
from_secret: password
|
||||||
# repo:
|
registry:
|
||||||
# from_secret: repo_bot
|
from_secret: registry
|
||||||
# dockerfile: telegram_bot/Dockerfile
|
dockerfile: frontend/Dockerfile
|
||||||
|
platforms: linux/amd64
|
||||||
|
|
||||||
# deploy:
|
# deploy:
|
||||||
# image: appleboy/drone-ssh
|
# image: appleboy/drone-ssh
|
||||||
|
Loading…
Reference in New Issue
Block a user