diff --git a/.woodpecker/latest.yaml b/.woodpecker/latest.yaml new file mode 100644 index 0000000..c5ae2a3 --- /dev/null +++ b/.woodpecker/latest.yaml @@ -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] diff --git a/Dockerfile b/Dockerfile index b265373..944b773 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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"]