3 Commits

Author SHA1 Message Date
mcpanda 65339c4db0 ci: fix ci
ci/woodpecker/push/default Pipeline was successful
2023-01-28 18:04:02 +03:00
mcpanda 7a12b67e2b ci: try fixing semantic-release
ci/woodpecker/push/default Pipeline failed
2023-01-27 23:20:55 +03:00
mcpanda 1ba05a7015 ci(woodpecker): add git credentials
ci/woodpecker/push/default Pipeline was successful
2023-01-27 22:19:45 +03:00
3 changed files with 9 additions and 4 deletions
+1
View File
@@ -1,3 +1,4 @@
# repositoryUrl: https://git.mckunda.com/mcpanda/summertime.git
branches: branches:
- +([0-9])?(.{+([0-9]),x}).x - +([0-9])?(.{+([0-9]),x}).x
- master - master
+6 -3
View File
@@ -1,6 +1,9 @@
pipeline: pipeline:
release tag: release tag:
image: node image: node
secrets:
- source: git_auth
target: git_credentials
commands: commands:
- yarn global add semantic-release @semantic-release/git @semantic-release/changelog @semantic-release/exec - yarn global add semantic-release @semantic-release/git @semantic-release/changelog @semantic-release/exec
- yarn exec semantic-release - yarn exec semantic-release
@@ -11,11 +14,11 @@ pipeline:
event: event:
- push - push
publish docker image: publish docker image:
image: plugins/kaniko image: banzaicloud/drone-kaniko
settings: settings:
repo: mcpanda/summertime
tags: ${DRONE_TAG##v}
registry: registry.container-registry.svc.cluster.local:5000 registry: registry.container-registry.svc.cluster.local:5000
repo: mcpanda/summertime
tags: ${CI_COMMIT_TAG##v}
when: when:
event: event:
- tag - tag
+2 -1
View File
@@ -1,5 +1,6 @@
FROM python:3.10-alpine FROM python:3.11-alpine
COPY requirements.txt / COPY requirements.txt /
RUN pip3 install -r /requirements.txt RUN pip3 install -r /requirements.txt
COPY . /app COPY . /app