Update pipeline.yml

This commit is contained in:
Florian Kaiser 2022-03-25 12:16:55 +01:00 committed by GitHub
parent c5c9a70df9
commit f97354cfd1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,50 +1,50 @@
pipeline: pipeline:
generate_tag: # generate_tag:
image: golang # image: golang
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
build_api: # build_api:
image: woodpeckerci/plugin-docker-buildx # image: woodpeckerci/plugin-docker-buildx
settings: # settings:
repo: # repo:
from_secret: repo_api # from_secret: repo_api
username: # username:
from_secret: username # from_secret: username
password: # password:
from_secret: password # from_secret: password
registry: # registry:
from_secret: registry # from_secret: registry
dockerfile: api/Dockerfile # dockerfile: api/Dockerfile
platforms: linux/amd64 # platforms: linux/amd64
build_bot: # build_bot:
image: woodpeckerci/plugin-docker-buildx # image: woodpeckerci/plugin-docker-buildx
settings: # settings:
repo: # repo:
from_secret: repo_bot # from_secret: repo_bot
username: # username:
from_secret: username # from_secret: username
password: # password:
from_secret: password # from_secret: password
registry: # registry:
from_secret: registry # from_secret: registry
dockerfile: telegram_bot/Dockerfile # dockerfile: telegram_bot/Dockerfile
platforms: linux/amd64 # platforms: linux/amd64
build_frontend: # build_frontend:
image: woodpeckerci/plugin-docker-buildx # image: woodpeckerci/plugin-docker-buildx
settings: # settings:
repo: # repo:
from_secret: repo_frontend # from_secret: repo_frontend
username: # username:
from_secret: username # from_secret: username
password: # password:
from_secret: password # from_secret: password
registry: # registry:
from_secret: registry # from_secret: registry
dockerfile: frontend/Dockerfile # dockerfile: frontend/Dockerfile
platforms: linux/amd64 # platforms: linux/amd64
deploy: deploy:
image: appleboy/drone-ssh image: appleboy/drone-ssh