ci: fix ci

This commit is contained in:
2023-01-28 01:29:07 +03:00
parent 7a12b67e2b
commit b7f03d0fb3
2 changed files with 10 additions and 6 deletions
+9 -5
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,12 @@ pipeline:
event: event:
- push - push
publish docker image: publish docker image:
image: plugins/kaniko image: gcr.io/kaniko-project/executor
settings: commands:
repo: mcpanda/summertime - /kaniko/executor
tags: ${DRONE_TAG##v} --context .
registry: registry.container-registry.svc.cluster.local:5000 --dockerfile Dockerfile
--destination "${registry.container-registry.svc.cluster.local:5000/mcpanda/summertime}:${DRONE_TAG##v}"
when: when:
event: event:
- tag - tag
+1 -1
View File
@@ -1,4 +1,4 @@
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