Docker & CI
This commit is contained in:
parent
bce46422fc
commit
f2b2c05a29
2 changed files with 17 additions and 3 deletions
13
.woodpecker/latest.yaml
Normal file
13
.woodpecker/latest.yaml
Normal file
|
@ -0,0 +1,13 @@
|
|||
steps:
|
||||
- name: build
|
||||
image: woodpeckerci/plugin-docker-buildx
|
||||
settings:
|
||||
platforms: linux/amd64
|
||||
repo: git.ztsh.eu/slack-exporter
|
||||
registry: git.ztsh.eu
|
||||
tags: latest
|
||||
username: stawros
|
||||
password:
|
||||
from_secret: git_pat
|
||||
when:
|
||||
- event: [tag, push, manual]
|
|
@ -3,10 +3,11 @@ LABEL authors="stawros"
|
|||
|
||||
RUN mkdir /app
|
||||
|
||||
COPY slack-exporter/requirements.txt /app/
|
||||
COPY slack-exporter/exporter.py /app/
|
||||
COPY requirements.txt /app/
|
||||
COPY exporter_ng.py /app/
|
||||
COPY tui.py /app/
|
||||
|
||||
RUN pip3 uninstall urllib3
|
||||
RUN pip3 install -r /app/requirements.txt
|
||||
|
||||
CMD ["python3", "/app/exporter.py"]
|
||||
CMD ["python3", "/app/tui.py"]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue