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