initial import

This commit is contained in:
Paolo Asperti 2022-09-20 11:09:47 +02:00
parent 82496d9f29
commit 7872e67271
Signed by: paspo
GPG Key ID: 06D46905D19D5182
2 changed files with 31 additions and 0 deletions

26
.drone.yaml Normal file
View File

@ -0,0 +1,26 @@
kind: pipeline
type: docker
name: default
steps:
- name: build_and_publish
image: plugins/docker:linux-amd64
settings:
force_tag: true
password:
from_secret: docker_password
registry: docker.asperti.com
repo: docker.asperti.com/paspo/python-runner
username:
from_secret: docker_username
tags:
- latest
- ${DRONE_TAG}
- ${DRONE_SEMVER_MAJOR}.${DRONE_SEMVER_MINOR}
when:
event:
- tag
trigger:
event:
- tag

5
docker/Dockerfile Normal file
View File

@ -0,0 +1,5 @@
FROM alpine:3.16
RUN \
apk -U add python3 py3-pip py3-requests py3-dateutil py3-beautifulsoup4 && \
pip3 install fdb mysql-connector-python==8.0.29 telepot caldav