initial import
This commit is contained in:
parent
82496d9f29
commit
7872e67271
26
.drone.yaml
Normal file
26
.drone.yaml
Normal 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
5
docker/Dockerfile
Normal 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
|
||||
|
Loading…
Reference in New Issue
Block a user