ci: fix ci
ci/woodpecker/push/default Pipeline was successful

This commit is contained in:
2023-01-28 01:39:56 +03:00
parent 7a12b67e2b
commit 43001de00f
3 changed files with 19 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:v1.9.1-debug
settings: commands:
repo: mcpanda/summertime - /kaniko/executor
tags: ${DRONE_TAG##v} --context .
registry: registry.container-registry.svc.cluster.local:5000 --dockerfile Dockerfile_2
--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
+9
View File
@@ -0,0 +1,9 @@
FROM python:3.11-alpine
COPY requirements.txt /
RUN pip3 install wheel
RUN pip3 install flask gunicorn
COPY . /app
WORKDIR /app
ENTRYPOINT ["./gunicorn.sh"]