Update Dockerfile
All checks were successful
Build / build (push) Successful in 16s

This commit is contained in:
2026-03-18 09:54:05 +03:00
parent eed048922c
commit 68b590a152

View File

@@ -2,23 +2,3 @@ FROM python:3.12-slim
RUN pip install docker prometheus-client
COPY exporter.py .
CMD ["python", "exporter.py"]
.gitea/workflows/build.yml:
name: Build
on:
push:
branches: [main]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: docker/login-action@v3
with:
registry: 192.168.31.100:3847
username: ${{ gitea.actor }}
password: ${{ secrets.REGISTRY_TOKEN }}
- uses: docker/build-push-action@v5
with:
push: true
tags: 192.168.31.100:3847/${{ gitea.repository }}:latest