Browse Source

v1.0.0

pull/2/head v1.0.0
Marta Enina 4 years ago
parent
commit
b9bb627815
  1. 9
      .woodpecker/default.yml
  2. 3
      Dockerfile

9
.woodpecker/default.yml

@ -1,6 +1,9 @@
pipeline:
release tag:
image: node
secrets:
- source: git_auth
target: git_credentials
commands:
- yarn global add semantic-release @semantic-release/git @semantic-release/changelog @semantic-release/exec
- yarn exec semantic-release
@ -11,11 +14,11 @@ pipeline:
event:
- push
publish docker image:
image: plugins/kaniko
image: banzaicloud/drone-kaniko
settings:
repo: mcpanda/summertime
tags: ${DRONE_TAG##v}
registry: registry.container-registry.svc.cluster.local:5000
repo: mcpanda/summertime
tags: ${CI_COMMIT_TAG##v}
when:
event:
- tag

3
Dockerfile

@ -1,5 +1,6 @@
FROM python:3.10-alpine
FROM python:3.11-alpine
COPY requirements.txt /
RUN pip3 install -r /requirements.txt
COPY . /app

Loading…
Cancel
Save