From 1855c9966c65b205935e5c5ddabc6527f7793688 Mon Sep 17 00:00:00 2001 From: Florian Kaiser <44125287+H4CK3R-01@users.noreply.github.com> Date: Fri, 25 Mar 2022 12:05:30 +0100 Subject: [PATCH] Update pipeline.yml --- .woodpecker/pipeline.yml | 56 +++++++++++++++++++++------------------- 1 file changed, 29 insertions(+), 27 deletions(-) diff --git a/.woodpecker/pipeline.yml b/.woodpecker/pipeline.yml index fbe7bf1..4c1c6b5 100644 --- a/.woodpecker/pipeline.yml +++ b/.woodpecker/pipeline.yml @@ -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